Re: Problem with Pango On IBM AIX 4.3.3



Valdis Kletnieks vt edu wrote:

On Wed, 16 Apr 2003 21:42:20 BST, Joel Becker said:
On Wed, Apr 16, 2003 at 04:33:36PM -0400, Valdis Kletnieks vt edu wrote:
The two are sufficiently related that they can't marry in most states.. ;)
	Well put.  Anyway, libtool should be using -blibpath, but they
aren't so natch.

-blibpath won't help.  The problem is that if you build a .so that doesn't
have a -lwhatever reference (usually by using -berok so it doesn't fail),
then external refs won't even be *attempted* to be resolved at runtime
unless you use rtl - if there's no -lfoo tagged in the header, it won't look
in -lfoo.  With rtl, if somethign else has sucked in -lfoo, it will look there.
Ok that i have now is that when someone runs the program from his home directory
at run time it says that could not load the libgdk-x11-1.0.a
I have copied all the shared libraries in a directory i made a script that sets the LIBPATH to locate where the shared libraries exists and run the program from
script.
All the enviroment variables are correct.

I thing that at link time i must use something like -brtl
I've tried it but the same thing

The correct is to use -lrtl

Thanks in advance
Regards,
Bill Souliotis






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]