Afternoon folks,

Having a bit of an issue I was hoping someone would be able to assist with.

Environment: Ubuntu 12.04.4 LTS 64bit

I've installed Judy from both source code and from the two Ubuntu
packages (libjudy-dev, libjudydebian1). No matter which route I go I get
the same error. My code does compile on a 32-bit host (Debian Wheezy),
so it's not clear to me what's going on there.

ll /usr/lib/libJudy*
-rw-r--r-- 1 root root 480872 May  5  2008 /usr/lib/libJudy.a
lrwxrwxrwx 1 root root     16 May  5  2008 /usr/lib/libJudy.so ->
libJudy.so.1.0.3
lrwxrwxrwx 1 root root     16 May  5  2008 /usr/lib/libJudy.so.1 ->
libJudy.so.1.0.3
-rw-r--r-- 1 root root 313296 May  5  2008 /usr/lib/libJudy.so.1.0.3

/usr/include/Judy.h

ldconfig -p | grep -i judy
        libJudy.so.1 (libc6,x86-64) => /usr/lib/libJudy.so.1
        libJudy.so (libc6,x86-64) => /usr/lib/libJudy.so

Both of these statements produce the same error:
gcc -O3 -L/usr/lib -lJudy foo.c -o foo
gcc -O3 -L/usr/lib -lJudy -m64 foo.c -o foo

Error:

/tmp/ccPTk6lA.o: In function `main':
foo.c:(.text.startup+0x5a): undefined reference to `JudySLIns'
foo.c:(.text.startup+0xda): undefined reference to `JudySLGet'
foo.c:(.text.startup+0x11d): undefined reference to `JudySLFreeArray'
foo.c:(.text.startup+0x158): undefined reference to `JudySLIns'
collect2: ld returned 1 exit status

Is there someone that can point me in the right direction? Happy to
provide additional details.

Thanks!
Nick

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel

Reply via email to