2012/9/25 Bernd <[email protected]>:
> 2012/9/25 Leonardo M. Ramé <[email protected]>:
>
>> Do you know a way to know where's the loader looking for libraries?,
>> from command line.
>
> ldconfig --print-cache
>
> Your library should appear there if installed correctly

It also might be installed as something like libpq.so.1 while your
program is trying to load libpq.so. Then you might need to add a
symlink. This is normally not a problem when linking at link time
because ld would resolve the symlink (which only exists when the
headers are installed) and insert the real name (the so called soname)
into the binary but this does not work when you are loading
dynamically at runtime.

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

Reply via email to