Linking against Sybase libraries for Linux; `ld got fatal signal 6'

Linking against Sybase libraries for Linux; `ld got fatal signal 6'

Post by Jeff Moor » Sat, 19 Apr 1997 04:00:00



In an earlier posting to comp.os.linux.misc (which has expired on my
server but which Alta Vista found for me), Marco Masotti

Quote:> I'm trying to link against a static library for sybase support (from
> sybase.tgz, devlib.tgz at http://www.sybase.com)

[tale of a.out-related woe]

Quote:> Can anyone please help how to link this kind of files, or should I
> consider it definetely corrupt?

It *seems* the solution should be something like:

  <cd where Sybase a.out-flavored libraries are>
  mkdir aout
  mv *.a aout
  for i in aout/*.a
  do
    objcopy --output-target=elf32-i386 --remove-leading-char $i
`basename $i`
  done

EXCEPT...  then the symbols seem to be found properly, but the linker
croaks before it's done:

  gcc: Internal compiler error: program ld got fatal signal 6

There was a previous posting to comp.os.linux.development.apps by

to treat a similar problem;  in that case a.out libraries seemed to be
involved in the problem's history as well.  Is there some kind of BFD
translation bug or some linker fragility in the face of a whiff of
a.out-ness?  Color me baffled, so far.

(I realize that Sybase client libraries for Linux are supplied as an
unsupported favor to the community, but wouldn't it be swell if they'd
re-release 'em in ELF form?)


 
 
 

Linking against Sybase libraries for Linux; `ld got fatal signal 6'

Post by Brian Jeps » Mon, 21 Apr 1997 04:00:00


[...]

>(I realize that Sybase client libraries for Linux are supplied as an
>unsupported favor to the community, but wouldn't it be swell if they'd
>re-release 'em in ELF form?)



Check out the sqsh home page; there's a link there to CT-Lib for
Linux, in ELF format:

  http://www.voicenet.com/~gray/sqsh.html

You can also find this package, along with a version of Sybperl
for Linux (probably a binary, you should be able to build Sybperl
from source on Linux), at:

  ftp://mudshark.sunquest.com/pub/ctlib-linux-elf/

Hope this helps,

--

  Int(ra|er)net Database Developer, Author, Crypto-Fluxologist
Non-Prophet Arts Technology Flux:      http://www.ids.net/~as220
WWW/Database/NT,Java/Database: http://www.ids.net/~bjepson/books

 
 
 

1. Newbie alert: problem getting ld to link with ld-linux.so.2

Hi,

    I'm having a hard time persuading ld to link against ld-linux.so.2. My
link command line looks like follows: ld -o CommsClient
CommsClient -t -Bdynamic -lc.

    The default output file is reported to be elf_i386. My question is how
do I get ld to link agains ld-linux.so.2 ? Without it I get 'Cannot find
entry symbol _start ...'

Regards
Francois

2. Linux Dial-Up Software?

3. linking static library against another library

4. PCI Driver development (Questions)

5. ld: fatal: relocations remain against allocatable but non-writable sections

6. 2.5.38+bk: modversions.h generation

7. Script for grabbing paragraphs

8. ld won't link with X libraries??

9. Getting Signal 11 Fatal Error w/ GCC and Linux 1.0.9

10. Q: Internal compiler error: program ld got fatal signal ...

11. Help me please:gcc internal compiler error:fatal signal 6/ld.so.4

12. compiler error...ld got fatal signal 11..Anybody seen a faq??