[Ecls-list] Binary with shared libraries, CL-PPCRE:CREATE-SCANNER not found
Philipp Marek
philipp at marek.priv.at
Fri Sep 9 18:47:26 UTC 2011
Hello everybody,
I'd like to compile some libraries (like CL-PPCRE, etc.) into shared objects, and use
that from a (otherwise statically) linked binary.
Please see the attached files for details.
The created binary uses the cl-ppcre.so:
$ LD_LIBRARY_PATH=. ldd ./test-mono
libcl-ppcre.so => ./libcl-ppcre.so (0x00007fe7feead000)
but on starting there's a function missing:
$ LD_LIBRARY_PATH=. ./test-mono
Condition of type: UNDEFINED-FUNCTION
The function CL-PPCRE::CREATE-SCANNER is undefined.
No restarts available.
Top level in: #<process TOP-LEVEL>.
This is on a Debian x86_64, testing/unstable, ecl 11.1.1
46aac929b66164eb7c513f3d3c179f4529e6bcda.
What am I doing wrong?
Thank you for all help.
Regards,
Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.lisp
Type: application/octet-stream
Size: 121 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110909/3570522a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.asd
Type: application/octet-stream
Size: 141 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110909/3570522a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-binary.lisp
Type: application/octet-stream
Size: 977 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110909/3570522a/attachment-0002.obj>
More information about the ecl-devel
mailing list