Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 648310

Summary: sci-chemistry/elem-1.0.3-r2 : /.../ld: cannot find -lnsl
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sci-chemistry:elem-1.0.3-r2:20180220-123228.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-02-20 16:48:13 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -DDEUTSCH  -o elem_de.o -c elem.c -I/usr/X11R6/include/X11 -I/usr/include -I/usr/X11R6/include -I/usr/local/X11/include/ -I/usr/X/include/
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -o elem-de elem_main_de.o elem_cb_de.o elem_de.o -lm -L./  -lforms -L/usr/X11R6/lib -lX11 -lnsl  -lXpm -DDEUTSCH
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make: *** [Makefile:38: elem-de] Error 1
emake failed

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_test_20180215-173621

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-chemistry/elem
[ebuild  N    ] sci-chemistry/elem-1.0.3-r2
Comment 1 Toralf Förster gentoo-dev 2018-02-20 16:48:16 UTC
Created attachment 520298 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-20 16:48:20 UTC
Created attachment 520300 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-02-20 16:48:23 UTC
Created attachment 520302 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-02-20 16:48:27 UTC
Created attachment 520304 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-02-20 16:48:30 UTC
Created attachment 520306 [details]
sci-chemistry:elem-1.0.3-r2:20180220-123228.log
Comment 6 Toralf Förster gentoo-dev 2018-02-20 16:48:33 UTC
Created attachment 520308 [details]
temp.tbz2