[lsb-discuss] A little more help needed.

Stew Benedict stewb at linuxfoundation.org
Fri Sep 14 21:18:22 UTC 2012


On 09/14/2012 05:08 PM, Petrie, Glen wrote:
>
> Hi
>
> For my SANE activity, I have been able by "hook and crook" to get 
> "configure" and "Make" to work.   I will need to publish a separate 
> note on what was necessary and how the LSB will or will not handle the 
> issues.  However, during the link, I get the following messages.  
> Again, I would like to know if they are expected or they problem 
> outside of using LSB sdk?   I will keep trying to find the possible 
> reason for each error but I seem to be running into dead-ends.
>
> /lib/libcrypto.so.0.9.8: undefined reference to `__fread_chk at GLIBC_2.7'
>
> /usr/lib/libieee1284.so: undefined reference to `ioperm at GLIBC_2.0'
>
> /usr/local/lib/libnetsnmp.so: undefined reference to 
> `__open64_2 at GLIBC_2.7'
>
> /usr/lib/libjpeg.so: undefined reference to `__isoc99_sscanf at GLIBC_2.7'
>
> /usr/lib/libtiff.so: undefined reference to `__longjmp_chk at GLIBC_2.11'
>
An lsbcc compile shouldn't be touching any of those. Sometimes it takes 
a bit of convincing to get configure to comply. (ex CC=lsbcc 
./configure...).
You would need whatever distro package provides the equivalent .a files.
libjpeg is in LSB, and the link should be using /opt/lsb/lib{64}/libjpeg.so

If you look at the .spec files for appbat, you'll see some real-world 
examples.

http://bzr.linuxfoundation.org/loggerhead/lsb/devel/appbat/files/head:/rpm/

-- 
Stew Benedict
Linux Foundation

Linux Foundation Events Schedule:  http://events.linuxfoundation.org
Linux Foundation Training Schedule: http://training.linuxfoundation.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lsb-discuss/attachments/20120914/ff832b84/attachment.html>


More information about the lsb-discuss mailing list