curl-library
Static libcurl with static libcurl dependencies
Date: Fri, 20 Apr 2012 14:34:28 +0200
Hi,
I'm trying to build statically libcurl with static dependencies from source
on Ubuntu 8.04 (not negotiable).
So far i can build:
- shared libcurl with shared dependencies,
- static libcurl with shared dependencies.
But no success for static libcurl with static dependencies.
For CMake, i'm using:
cmake .. -DBUILD_CURL_TESTS=OFF -DCURL_STATICLIB=ON -DCURL_DISABLE_LDAP=ON
For configure:
./configure --disable-shared --enable-static --disable-ldap --disable-ldaps
CMake settings doesn't allow it, so i played with configure/Makefile
settings:
*-static -lidn -lssl -lcrypto -lldap -lrt -ldl -lz*
Everytime i think it's fine, ldd shows me references to the shared
dependencies.
In the other hand, i get a bunch of error "undefine reference to" and such.
Is there anything else i can try ?
Thx.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-20