|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Problems with DBD-Sybase-0.93
Date: Aug 8 2001 3:04PM
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/syb12/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
|