LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem installing jfsutils-1.1.7, cannot find uuid library (https://www.linuxquestions.org/questions/linux-software-2/problem-installing-jfsutils-1-1-7-cannot-find-uuid-library-259981/)

kit_johnson 11-27-2004 07:29 PM

Problem installing jfsutils-1.1.7, cannot find uuid library
 
Hi, first ever question from a sadly still newbie...

trying to upgrade my kernel to 2.6.9. So far downloaded the source, but have lots of software needing to be installed before I can actually compile it. I've got as far as needing jfsutils-1.1.7. Downloaded, extracted, and configuration is fine until it gets here:

Quote:

checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
configure: error: 'You need the uuid library'
I'm not sure what most of that means, but I clearly can't proceed without uuid library. So I downloaded the source for that, extracted it, and for the first time ever configured, made and installed it without problem! At the end of installation it said this:

Quote:

...etc....
chmod 644 /usr/local/lib/libuuid.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
./shtool install -c -m 755 -s .libs/uuid /usr/local/bin/uuid
........etc.
Not quite sure what this means. But I'm guessing the two messages are linked? It seems to me I do have the uuid library, it's one of othe only things I've compiled from source successfully! So why doesn't the other configuration find it?

They're both installed in /usr/local/...

Please please help if you can! I'm so tired of linux not working :(

I'm running mandrake 9.2, kernel 2.4.22 (hopefully not for much longer), on a laptop.

Thanks.
Kit

kit_johnson 11-30-2004 08:07 AM

I don't like to answer my own question, but here goes...

after much looking around on the web with few answers, I worked out I needed e2fsprogs-devel before installing e2fsprogs (with a helpful google translation of a german linux forum - shame I can't reply!). The development package came with the uuid libraries needed.

So if anyone finds themselves in the same situation, the rpm I used was
e2fsprogs-devel-1.19-1mdk.i586.rpm

Yay!


All times are GMT -5. The time now is 01:38 AM.