On 2012-09-25 20:47:57 +0200, Bernd wrote: > 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. > > --
Yes, I understand this, the problem is that I don't have control on how my program loads the library, I just placed a PostgreSql Database connector on a Data Module using Lazarus, so, the database connector must know where's libpq.so. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
