in reply to Re: Perl modules not linking to libperl.so
in thread Perl modules not linking to libperl.so

I modified the line in config.sh

lddlflags='-shared -L/user/local/lib'

to look like this:

lddlflags='-shared -L/user/local/lib -L/user/local/lib/perl5/5.9.2/i686-linux-thread-multi/CORE -Wl,-rpath,/usr/local/lib/perl5/5.9.2/i686-linux-thread-multi/CORE/ -lperl'

And this does work. Except that I have to do the `make;make install` of Perl first, then modify the line and do `make;make install` a second time to get everything properly installed.

But then once I do that I can build the DBI module and it just works under our framework.

So I think I am very close to a possible small fix to get this working correctly. :D

If anyone has any hints about what I am doing wrong with the lddflags that I have to do the install twice with different settings, please share your thoughts.

I am going to keep looking into this and check out the update about LDLOADLIBS early next week.

Thanks so much!

  • Comment on Re^2: Perl modules not linking to libperl.so