|
|
sybperl-l Archive
Up Prev Next
From: "Torsten Bauer" <torsten at torsten-bauer dot de>
Subject: RE: Problems with DBD-Sybase-0.93
Date: Aug 8 2001 4:24PM
Hi Michael,
this is my string:
LD_RUN_PATH="/usr/syb12/current/OCS-12_0/lib:/lib"
gcc -B/usr/ccs/bin/ -B/usr/ccs/bin/ -o
blib/arch/auto/DBD/Sybase/Sybase.so -R/usr/syb12/current/OCS-12_0/lib -R/lib
-L/usr/syb12/current/OCS-12_0/lib -G -L/usr/local/lib Sybase.o
dimp.o -L/usr/syb12/current/OCS-12_0/lib -lct -lcs -ltcl -lcomn -lintl -l
dl -lm
I would say they are identical in the most parts...
The only differences are:
Mine:
LD_RUN_PATH="/usr/syb12/current/OCS-12_0/lib:/lib"
-R/lib
-L/usr/local/lib
-B/usr/ccs/bin/ -B/usr/ccs/bin/
Yours:
LD_RUN_PATH="/opt/sybase-12.0/OCS-12_0/lib:/usr/lib"
-R/usr/lib
Torsten
> -----Original Message-----
> From: owner-SYBPERL-L@list.cren.net
> [mailto:owner-SYBPERL-L@list.cren.net]On Behalf Of Michael Peppler
> Sent: Wednesday, August 08, 2001 5:04 PM
> To: SybPerl Discussion List
> Subject: Re: Problems with DBD-Sybase-0.93
>
>
> Torsten Bauer writes:
> > Hi all,
> >
> > I have a problem installing DBD::Sybase (Version 0.93) to a Solaris 8
> > machine running an ASE 12.0 engine.
> >
> > First I need to install it into my user space, because I do
> not have root
> > access to the box. Building and installing is no problem, but
> if I run 'make
> > test' or use it in my perl script I receive the following error:
> >
> > ld.so.1: /usr/bin/perl: fatal: relocation error: file
> > /usr/syb12/current/OCS-12_0/lib/libtli.so: symbol comn_yield:
> referenced
> > symbol not found
> >
> > I've set the following environement variables:
> >
> > LD_LIBRARY_PATH=/usr/syb12/current/OCS-12_0/lib
> >
> PATH=/usr/bin:/usr/ucb:/etc:/usr/ccs/bin:/usr/cygnus/bin:.:/usr/sy
> b12/curren
> > t/OCS-12_0/bin
> > PERL5LIB=/home/emsadmin/perl_modules
> > SYBASE=/usr/syb12/current
> > SYBASE_OCS=OCS-12_0
>
> This all looks OK.
>
> I've got it here on Solaris 7... but it looks like some library
> doesn't get loaded (libcomn.so in this case).
>
> The link line should be:
>
> LD_RUN_PATH="/opt/sybase-12.0/OCS-12_0/lib:/usr/lib" gcc -o
> blib/arch/auto/DBD/Sybase/Sybase.so
> -R/opt/sybase-12.0/OCS-12_0/lib -R/usr/lib
> -L/opt/sybase-12.0/OCS-12_0/lib -G Sybase.o dbdimp.o
> -L/opt/sybase-12.0/OCS-12_0/lib -lct -lcs -ltcl -lcomn -lintl -ldl -lm
>
> Can you confirm that you get the same libraries included in the link
> line?
>
> Michael
> --
> Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
> mpeppler@peppler.org - mpeppler@mbay.net
> International Sybase User Group - http://www.isug.com
>
>
|