On Mon, Mar 24, 2014 at 10:55:44PM +0000, Reuben Thomas wrote:
> I tried to compile a simple program
> 
> http://skarnet.org/software/misc/infinity.c
> 
> that needs skalibs.I can???t find any instructions in the Debian package other
> than that the gcc libraries are in /usr/lib, so I tried:
> 
> $ gcc -o infinity infinity.c -I/usr/include/diet/skalibs /usr/lib/skalibs/*.a
> /usr/bin/ld.bfd.real: /usr/lib/skalibs/libstddjb.a(buffer_putalign.o): 
> relocation R_X86_64_PC32 against undefined symbol 
> `__errno_location@@GLIBC_2.2.5' can not be used when making a shared object; 
> recompile with -fPIC
> /usr/bin/ld.bfd.real: final link failed: Bad value
> collect2: error: ld returned 1 exit status
> 
> Adding -fPIC to the command-line doesn???t help; I presume the error is
> intended to mean that the library should be recompiled.
> 
> Sorry if I???m missing something obvious, but I couldn???t find any more
> information in the documentation or online.

Hi, the package in Debian "is designed to allow building of small,
static binaries".  No shared libraries support as of now.

Regards, Gerrit.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to