Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545198 - net-print/hplip-3.14.10 - ld: cannot find -lieee1284
Summary: net-print/hplip-3.14.10 - ld: cannot find -lieee1284
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 05:01 UTC by Andreas Nyback
Modified: 2017-02-14 22:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Nyback 2015-04-01 05:01:33 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/pcardext_la-pcardext.o .libs/pcardext_la-fat.o   -lcrypto  -march=core2 -O2 -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,pcardext.so -o .libs/pcardext.so
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/scanext_la-scanext.o   /usr/lib64/libsane.so -L/usr/lib64 -ldl -lv4l1 -lieee1284 -ltiff -ljbig -lz -lc -ljpeg -lgphoto2 -lgphoto2_port -lexif -lm -lusb -lavahi-common -lavahi-client -lcrypto  -march=core2 -O2 -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,scanext.so -o .libs/scanext.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lieee1284
collect2: error: ld returned 1 exit status
Makefile:5288: recipe for target 'scanext.la' failed
make: *** [scanext.la] Error 1
make: *** Waiting for unfinished jobs....

After emerging sys-libs/libieee1284 the emerge of hplip executes without error.


net-print/hplip-3.14.10 was built with the following:
USE="X fax hpcups kde libnotify (policykit) qt4 scanner snmp -doc -hpijs -libusb0 -minimal -parport -static-ppds" ABI_X86="64" PYTHON_TARGETS="python2_7"


Reproducible: Always

Steps to Reproduce:
1. emerge net-print/hplip-3.14.10 without sys-libs/libieee1284 installed
2.
3.
Actual Results:  
Get error:
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/pcardext_la-pcardext.o .libs/pcardext_la-fat.o   -lcrypto  -march=core2 -O2 -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,pcardext.so -o .libs/pcardext.so
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/scanext_la-scanext.o   /usr/lib64/libsane.so -L/usr/lib64 -ldl -lv4l1 -lieee1284 -ltiff -ljbig -lz -lc -ljpeg -lgphoto2 -lgphoto2_port -lexif -lm -lusb -lavahi-common -lavahi-client -lcrypto  -march=core2 -O2 -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,scanext.so -o .libs/scanext.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lieee1284
collect2: error: ld returned 1 exit status
Makefile:5288: recipe for target 'scanext.la' failed
make: *** [scanext.la] Error 1
make: *** Waiting for unfinished jobs....

Expected Results:  
No error
Comment 1 Daniel Pielmeier gentoo-dev 2015-04-04 20:19:43 UTC
Can not reproduce this issue. Your link line looks strange as it tries to link against a lot of stuff.

Mine looks like this:
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/scanext_la-scanext.o   -lsane -lcrypto  -march=native -O2 -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu   -Wl,-soname -Wl,scanext.so -o .libs/scanext.so

So it only links against libcrypto from dev-libs/openssl and libsane from media-gfx/sane-backends.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-02-14 22:24:01 UTC
This version is long gone. Please re-open if you have the same problem with current hplip.