hello,
j'utilise aria2 (un getright/FDM sous linux en ligne de commandes) et son auteur m'a expliqué comment creer l'executable en standalone... ca semble marcher sur le peu de test que j'ai fait mais j'ai cette erreur de compilation,
j'ai mis l'exec sur un livecd ubuntu, il ne m'a pas mis d'erreur... ce livecd aurait t-il ce runtime par defaut ?
g++ -g -O2 -static -o aria2c main.o option_processing.o version_usage.o download_helper.o libaria2c.a -L/usr/local/lib -lssl -lcrypto -L/usr/lib -lcares -L/usr/lib -lexpat -L/usr/lib -lz -lsqlite3 -lcrypto -lz -pthread -ldl -lrt
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
(.text+0x696): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libaria2c.a(SocketCore.o): In function `aria2::SocketCore::bind(unsigned short)':
/root/test4/aria2/src/SocketCore.cc:167: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: quittant le répertoire « /root/test4/aria2/src »
si ca peut vous aider tout est la
http://80.247.230.136/bug/devellopez.com_aria2c/
merci d'avance![]()
Partager