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

Attachment: main.lisp
Description: Binary data

Attachment: test.asd
Description: Binary data

Attachment: make-binary.lisp
Description: Binary data

------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to