Yet lglib compiling error lazarus / 1-Linux ---------------------------------------------------------------------- sepehr · 2006-12-19 09:36 hey guys, i have installed lazarus  on  64bit suse linux 10.2   and i have provided all packages mentioned here: http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtop ic&t=1300&highlight=lglib but i stil get this error when compiling /usr/bin/ld: skipping incompatible /opt/gnome/lib//libglib.so when searching for -lglib /usr/bin/ld: skipping incompatible /opt/gnome/lib//libglib.a when searching for -lglib /usr/bin/ld: cannot find -lglib project1.lpr(19) Error: Error while linking please show me the ropes ---------------------------------------------------------------------- Marc · 2006-12-19 10:07 I think this is a 32 vs 64 bit problem. Its  not clear to me if you are using a 32bit fpc or a 64bit fpc, but I guess the libs found are 64bit or 32bit. I don't know if there exists something like /opt/gnome/lib64 (or32), but if so, I would suggest to add them to your fpc.cfg. ---------------------------------------------------------------------- sepehr · 2006-12-19 11:42 i am using 64 bit fpc /opt/gnome/lib64  exists too Quote I would suggest to add them to your fpc.cfg. i do have /opt/gnome/lib64 but i can't get what u mean,add what to my fpc.cfg file? thanks in advance ---------------------------------------------------------------------- Marc · 2006-12-19 12:32 somewhere in your /etc/fpc.cfg you have a line like -Fl/some/path/there Add another line -Fl/opt/gnome/lib64 I'm not really into 64 vs 32, but it might also be a ld config issue (look in /etc/ld.so.conf) ---------------------------------------------------------------------- sepehr · 2006-12-19 15:15 thaaaaaaaaaaaaaaaaaaaaaaanks man!   :lol: wow! it's working fine now! i just compiled my first   thanks again ---------------------------------------------------------------------- ChasH · 2006-12-24 16:02 Quote from: "Marc"somewhere in your /etc/fpc.cfg you have a line like -Fl/some/path/there Add another line -Fl/opt/gnome/lib64 I'm not really into 64 vs 32, but it might also be a ld config issue (look in /etc/ld.so.conf) I'm using Lazarus v0.9.20beta on SuSe 10.2 64bit... Marc's suggestion solved the problems above but...:shock: Mine also skips over /usr/lib/libgdk.so I tried adding: -Fl/usr/lib64  to the fpc.cfg file with no luck Actually there is no libgdk.so in that directory. Should there be one there? ---------------------------------------------------------------------- Zorba · 2006-12-24 17:34 Quote from: "ChasH"Quote from: "Marc"somewhere in your /etc/fpc.cfg you have a line like -Fl/some/path/there Add another line -Fl/opt/gnome/lib64 I'm not really into 64 vs 32, but it might also be a ld config issue (look in /etc/ld.so.conf) I'm using Lazarus v0.9.20beta on SuSe 10.2 64bit... Marc's suggestion solved the problems above but...:shock: Mine also skips over /usr/lib/libgdk.so I tried adding: -Fl/usr/lib64  to the fpc.cfg file with no luck Actually there is no libgdk.so in that directory. Should there be one there? Do you have libgdk installed on your system at all? If you don't have it installed then you need to install it, at least that has been my experience but I'm on a 32bit system. ---------------------------------------------------------------------- eric · 2006-12-24 19:14 You need to install gtk-devel and gdk-pixbuf-devel. Eric ---------------------------------------------------------------------- ChasH · 2006-12-25 00:19 Quote from: "eric"You need to install gtk-devel and gdk-pixbuf-devel. Eric Thank you!   That was the final piece that I needed.