zdielane moduly .la vs .so / 8.X, 9.X a 10.0
Lubomir Majersky
lumax at in.acompp.sk
Mon Oct 20 10:42:50 CEST 2014
Dňa 16. 10. 2014 21:21 Dan Lukes wrote / napísal(a):
> On 10/16/14 16:12, Lubomir Majersky:
>> Zacal som patrat a zistil som, ze ten moj instalacny skript vytvori
>> zdielane moduly s priponou "la". Na 8-ckach a 9-kach ich vytvori s
>> priponou "so".
>
> Nojo, ale to po nas chces vsevedoucnost. Vytvaris moduly nejaky vlastnim
> skriptem, o jehoz obsahu a vlastnostech nevime naprosto nic.
>
> Jak bychom mohli uhadnout, proc se to zacalo chovat jinak, kdyz nemame
> poneti jak ten tvuj script moduly vytvari ?
>
A co fakt, ze ten moj skript vytvara na FreeBSD 8.X a 9.X moduly s
priponou '.so'?
**********************
Verzia upravena v sucinnosti s Makefile z portov (neviem ci to tu bude
prehladne...):
./configure '--localstatedir=/var/run'
'--libexecdir=/usr/local/libexec/proftpd' '--with
pkgconfig=libdata/pkgconfig' '--sysconfdir=/usr/local/etc'
'--enable-ctrls' '--enable-dso' '--disable-sendfile' '--disable-ipv6'
'--disable-pcre' '--disable-memcache' '--with-modules=mod_clamav'
'--with
shared=mod_ban:mod_copy:mod_ctrls_admin:mod_deflate:mod_dnsbl:mod_dynmasq:mod_exec:mod_ifsession:mod_ifversion:mod_qos:mod_quotatab:mod_quotatab_file:mod_quotatab_radius:mod_quotatab_sql:mod_radius:mod_ratio:mod_readme:mod_rewrite:mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_shaper:mod_site_misc:mod_snmp:mod_sql:mod_sql_passwd:mod_tls:mod_tls_shmcache:mod_unique_id:mod_wrap2:mod_wrap2_file:mod_wrap2_sql'
'--with-includes=/usr/local/include' '--with-libraries=/usr/local/lib'
'ac_cv_lib_iconv_iconv_open=no' 'ac_cv_lib_iconv_libiconv_open=no'
'--prefix=/usr/local' '--mandir=/usr/local/man/man-proftpd'
'--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd10.0'
'build_alias=amd64-portbld-freebsd10.0' 'CC=cc' 'CFLAGS=-O2 -pipe
-fno-strict-aliasing' 'LDFLAGS= -Wl,-rpath,/usr/lib:/usr/local/lib'
'LIBS=-lssl -lcrypto -L/usr/lib' 'CPPFLAGS=-DHAVE_OPENSSL
-I/usr/include' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2 -pipe
-fno-strict-aliasing'
**********************
Skratena verzia:
./configure --prefix=/usr/local --exec-prefix=/usr/local
--libexecdir=/usr/local/libexec/proftpd
--mandir=/usr/local/man/man-proftpd --localstatedir=/var/run
--enable-ctrls --enable-curses --enable-dso --disable-ipv6
--enable-openssl --disable-sendfile --with-modules=mod_clamav
--with-shared=mod_copy:mod_deflate:mod_ifsession:mod_ifversion:mod_ratio:mod_readme:mod_rewrite:mod_tls:mod_wrap2
Obe verzie na FreeBSD 8.X a 9.X vytvoria moduly s priponou '.so',
samozrejme u prveho uvedeneho su potom niektore parametre ine,
odpovedajuce verziam OS.
Lubo M.
--
~~~~~~~~~~~~~~~~~~~~
http://LuMaX.acom.sk
~~~~~~~~~~~~~~~~~~~~
More information about the Users-l
mailing list