Hello General mailing list!

I have upgraded from 10.3.9 to 10.5.4 and the serious problem with
compilation vanished, but I think, I have a little problem with
library used during linking, but I have tried to set path to directory
where are libraries located and problem is still present.

I was trying to build Lazarus with:

sudo make clean all LCL_PLATFORM=gtk

and this is the result:

...
Assembling lazarus
Linking ../lazarus
ld: library not found for -lglib-1.2.0
An error occurred while linking 
Error: Error while linking
Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[1]: *** [ide] Error 2
make: *** [ide] Error 2


The setting of path variable is the following:

echo $PATH

/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/lib


The listing of /opt/local/lib

ls -l libglib*

-rwxr-xr-x  2 root  admin  195032 Jul 17 13:22 libglib-1.2.0.0.10.dylib
lrwxr-xr-x  1 root  admin      24 Jul 17 13:22 libglib-1.2.0.dylib -> 
libglib-1.2.0.0.10.dylib
lrwxr-xr-x  1 root  admin      24 Jul 17 13:22 libglib.1.dylib -> 
libglib-1.2.0.0.10.dylib
lrwxr-xr-x  1 root  admin      24 Jul 17 13:22 libglib.dylib -> 
libglib-1.2.0.0.10.dylib
-rwxr-xr-x  2 root  admin     688 Jul 17 13:22 libglib.la


What could it be still set wrong?

-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to