Package: libluabind-dev
Version: 0.9.1+dfsg-10
Severity: grave
Justification: renders package unusable

Dear Maintainer,

How to reproduce:
apt-get install libluabind-dev libluabind-examples g++
cp -r /usr/share/doc/libluabind-examples/examples/hello_world /tmp
cd /tmp/hello_world
make

Expected behavior:
produce a basic executable that shows off how to use luabind

Actual behavior:
g++ -shared hello_world.cpp -o hello_world.so -I/sw/include -L/sw/lib \
-I/usr/include/lua5.2 -I/usr/include/boost \
-llua5.2 -lluabind
/usr/bin/ld: /tmp/cctvR3RQ.o: relocation R_X86_64_32 against `.rodata' can not
be used when making a shared object; recompile with -fPIC
/tmp/cctvR3RQ.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:8: recipe for target 'helloworld_test' failed
make: *** [helloworld_test] Error 1



-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libluabind-dev depends on:
ii  libboost-dev       1.58.0.1
ii  liblua5.2-dev      5.2.4-1
ii  libluabind0.9.1v5  0.9.1+dfsg-10

libluabind-dev recommends no packages.

Versions of packages libluabind-dev suggests:
ii  libluabind-doc       0.9.1+dfsg-10
ii  libluabind-examples  0.9.1+dfsg-10

-- no debconf information

Reply via email to