PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Undefined symbol: bsd_tcp when compiling sybperl 2.08
Date: Oct 28 1997 9:06PM

Scott Sutherland wrote:
> 
> Can anyone help with this error?  The link of CTLib is failing with the
> above error.
> 
> Exact context: (wraped for e-mail)
> --- begin paste ---
> Running Mkbootstrap for Sybase::CTlib ()
> chmod 644 CTlib.bs
> LD_RUN_PATH="/sybase/v10.0.2.7/lib:/lib" ld -o
> ..././blib/arch/auto/Sybase/CTlib/
> CTlib.so  -L/sybase/v10.0.2.7/lib -H512 -T512 -bhalt:4 -bM:SRE
> -bI:/usr/local/perl5.004/lib/aix/5.00404/CORE/perl.exp -bE:CTlib.exp
> -b noentry -lc -L/usr/local/lib CTlib.o    -L/sybase/v10.0.2.7/lib -lct
> -lcs -ltcl -lcomn -lintl -ltli -lm
> ld: 0711-317 ERROR: Undefined symbol: bsd_tcp
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make[1]: *** [.././blib/arch/auto/Sybase/CTlib/CTlib.so] Error 8
> make[1]: Leaving directory `/vendr/local/src/sybperl-2.08/CTlib'
> make: *** [subdirs] Error 2
> ---  end paste  ---
> 
> System info: AIX 4.2.0, PERL 5.004_04, sybperl 2.08, sybase 10.0.2.7, gcc
> 2.7.2.2
> 
> TCL is installed, but not in the /usr/local/lib directory as per the
> readme.  I've tried fiddling with the Makefile to no avail.

Add -linsck to EXTRA_LIBS in the CONFIG file, then rebuild
from scratch (ie start with perl Makefile.PL).

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler