[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] [RAQ2] compiling with -shared



Hi,

I have downloaded and installed the egcs rpms from the experimantal dir on the
ftp site.

that allowed me to compile mysql 3.23.6 with no problems. (it appears to work
great)

BUT . . .

I can not compile the mysql modules, DBI, or Data-dumper module. (i want the 
newer versions of the modules)

I thought it might be the older version of perl, so i was going to compile and
install perl 5.005_03 (which should be used anyhow) in the /usr/local/bin dir.

here is the error:

Running Mkbootstrap for B ()
chmod 644 B.bs
LD_RUN_PATH="" cc -o ../../lib/auto/B/B.so  -shared -L/usr/local/lib B.o
collect2: ld terminated with signal 6 [Aborted]
make[1]: *** [../../lib/auto/B/B.so] Error 1
make[1]: Leaving directory `/home/build/perl5.005_03/ext/B'
make: *** [lib/auto/B/B.so] Error 2


for what it is worth (i am no expert) i think it has to do with the -shared and 
dynamic linking. (i had to use -disable-shared to get mysql to compile)

is there some problem with dynamic loading?  is there a way to get this to work?

i think i saw that other got perl 5.005_03 working.

please help, if you can.

Thanks

Chris Myers
HighVision Associates www.highvision.com
KiskiNet              www.kiski.net