ld error while trying to build DBD::TEXIS on RedHat

Post Reply
valery
Posts: 26
Joined: Thu Mar 15, 2001 9:24 pm

ld error while trying to build DBD::TEXIS on RedHat

Post by valery »

Hi,

I've got the following response to my attempt to install DBD driver for TEXIS:
---------------------------------------------
[root@biozak DBD-TEXIS-0.93]# perl Makefile.PL
Name "main::opt_o" used only once: possible typo at Makefile.PL line 39.

Configuring DBD::TEXIS ...

>>> Remember to actually *READ* the README file!
And re-read it if you have any problems.

Using DBI 1.13 installed in /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI

Using DBI 1.13 installed in /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI
Writing Makefile for DBD::TEXIS

[root@biozak DBD-TEXIS-0.93]# make
cc -c -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI -I/usr/local/morph3/api -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -m486 -fno-strength-reduce -DVERSION=\"0.93\" -DXS_VERSION=\"0.93\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE TEXIS.c
cc -c -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI -I/usr/local/morph3/api -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -m486 -fno-strength-reduce -DVERSION=\"0.93\" -DXS_VERSION=\"0.93\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE putil.c
Running Mkbootstrap for DBD::TEXIS ()
chmod 644 TEXIS.bs
LD_RUN_PATH="/usr/local/morph3/api:/usr/lib/gcc-lib/i386-glibc20-linux/egcs-2.90.29" cc -o blib/arch/auto/DBD/TEXIS/TEXIS.so -shared -L/usr/local/lib TEXIS.o putil.o -L/usr/local/morph3/api -ltexis -lcgilite -lntexis -lapi3 -L/usr/lib/gcc-lib/i386-glibc20-linux/egcs-2.90.29/ -lgcc
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: fbtree.o: invalid string offset 769 >= 77 for section `.shstrtab'
/usr/bin/ld: fbtree.o: invalid string offset 769 >= 77 for section `.shstrtab'
/usr/bin/ld: preptree.o: invalid string offset 27493 >= 69 for section `.shstrtab'
/usr/bin/ld: preptree.o: invalid string offset 27493 >= 69 for section `.shstrtab'
/usr/bin/ld: preptree.o: invalid string offset 27493 >= 69 for section `.shstrtab'
/usr/bin/ld: fdbim.o: invalid string offset 3892314112 >= 2111 for section `.strtab'
make: *** [blib/arch/auto/DBD/TEXIS/TEXIS.so] Error 1
---------------------------------------------

Has anybody seen this? Any suggestions?

Thanks,
Valery.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

ld error while trying to build DBD::TEXIS on RedHat

Post by mark »

Never seen anything like that. I would have to guess it's caused by a messed up compiler/linker or corrupted library. Try restoring the Texis libraries from the CD.
Post Reply