On Wednesday, May 29, 2002, at 07:33 , Jas Grewal wrote:

> Hi All,
>
> I am tring to use a module in perl (MQSeries), there are however a
> few bugs with this module on my platform (hpux). A fix is to link the
> libraries during a perl installation. I know that I will have to
> recompile perl and edit the Makefile to do this. But I dont know what
> I have to edit in the Makefile to do this. Any help would be
> appreciated.

a) what do we mean by 'link the libraries'

        a1: at compile time make sure that libFoo.a is
                called out specifically

        a2: put a symbolic link from where the libFoo.so
                actually is to one of the places where you would
                expect to find them for dynamic loading???

b) do you want to avoid this by making sure that the
arguments that are set in your current perl build include
other things such as some other lddlflags - for dynamic linking
at run time????

ciao
drieux

---

speaking of which on our solaris boxes I just noticed
that we have the weird pattern:

vladimir: 57:] perl -V | egrep lib
     ld='cc', ldflags =' -L/usr/local/lib -L/opt/SUNWspro/SC4.2/lib '
     libpth=/usr/local/lib /opt/SUNWspro/SC4.2/lib /usr/lib /usr/ccs/lib
     libs=-lsocket -lnsl -ldl -lm -lc
     perllibs=-lsocket -lnsl -ldl -lm -lc
     libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
     cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib -L/opt/SUNWspro/SC4.
2/lib'
.....

so does this really mean that the only place where I
can load in the libFoo.so's will be in /usr/local/lib???
.....

cf:
http://www.wetware.com/drieux/CS/lang/Perl/DyanaLoadProb.html


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to