Udv a policy.py hibat a Http import hianya okozta ez a resz most megy a deb ekbol a javaslat szerint megprobaltam leforditani a 0.5.25 verzioju zorp-ot forditaskor a kovetkezo uzenetet kaptam /bin/sh ../libtool --mode=link gcc -g -Wall -D_GNU_SOURCE -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -o zorp main.o ../modules/libmodules.a ../lib/.libs/libzorp.so -lnsl -L/usr/lib/debug -L/usr/local/zorp/lib -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -L/usr/local/zorp/lib -lm gcc -g -Wall -D_GNU_SOURCE -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -o zorp main.o ../modules/libmodules.a ../lib/.libs/libzorp.so -lnsl -L/usr/lib/debug -L/usr/local/zorp/lib -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -L/usr/local/zorp/lib -lm ../lib/.libs/libzorp.so: undefined reference to `SSL_set_fd' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_free' ../lib/.libs/libzorp.so: undefined reference to `X509_free' ../lib/.libs/libzorp.so: undefined reference to `SSL_shutdown' ../lib/.libs/libzorp.so: undefined reference to `X509_NAME_oneline' ../lib/.libs/libzorp.so: undefined reference to `SSL_get_fd' ../lib/.libs/libzorp.so: undefined reference to `SSL_read' ../lib/.libs/libzorp.so: undefined reference to `OpenSSL_add_all_algorithms' ../lib/.libs/libzorp.so: undefined reference to `SSL_new' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_new' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_set_verify' ../lib/.libs/libzorp.so: undefined reference to `CRYPTO_free' ../lib/.libs/libzorp.so: undefined reference to `SSL_load_error_strings' ../lib/.libs/libzorp.so: undefined reference to `X509_get_subject_name' ../lib/.libs/libzorp.so: undefined reference to `ERR_lib_error_string' ../lib/.libs/libzorp.so: undefined reference to `ERR_reason_error_string' ../lib/.libs/libzorp.so: undefined reference to `ERR_clear_error' ../lib/.libs/libzorp.so: undefined reference to `ERR_func_error_string' ../lib/.libs/libzorp.so: undefined reference to `ERR_get_error' ../lib/.libs/libzorp.so: undefined reference to `SSLv3_client_method' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_use_PrivateKey_file' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_check_private_key' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_use_certificate_file' ../lib/.libs/libzorp.so: undefined reference to `SSL_connect' ../lib/.libs/libzorp.so: undefined reference to `SSL_free' ../lib/.libs/libzorp.so: undefined reference to `SSL_get_peer_certificate' ../lib/.libs/libzorp.so: undefined reference to `SSL_write' collect2: ld returned 1 exit status make[2]: *** [zorp] Error 1 a libssl ill a libssl-dev a balabi.hu rol toltottem le (deb) valamint fent van a non-us bol is egy libssl de az dependel az ssh val merre keresgeljek ? Udv Robit
a policy.py hibat a Http import hianya okozta ez a resz most megy a deb ekbol
a javaslat szerint megprobaltam leforditani a 0.5.25 verzioju zorp-ot
forditaskor a kovetkezo uzenetet kaptam
/bin/sh ../libtool --mode=link gcc -g -Wall -D_GNU_SOURCE -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -o zorp main.o ../modules/libmodules.a ../lib/.libs/libzorp.so -lnsl -L/usr/lib/debug -L/usr/local/zorp/lib -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -L/usr/local/zorp/lib -lm gcc -g -Wall -D_GNU_SOURCE -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -o zorp main.o ../modules/libmodules.a ../lib/.libs/libzorp.so -lnsl -L/usr/lib/debug -L/usr/local/zorp/lib -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -L/usr/local/zorp/lib -lm ../lib/.libs/libzorp.so: undefined reference to `SSL_set_fd' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_free' ../lib/.libs/libzorp.so: undefined reference to `X509_free' ../lib/.libs/libzorp.so: undefined reference to `SSL_shutdown' ../lib/.libs/libzorp.so: undefined reference to `X509_NAME_oneline' ../lib/.libs/libzorp.so: undefined reference to `SSL_get_fd' ../lib/.libs/libzorp.so: undefined reference to `SSL_read' ../lib/.libs/libzorp.so: undefined reference to `OpenSSL_add_all_algorithms' ../lib/.libs/libzorp.so: undefined reference to `SSL_new' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_new' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_set_verify' ../lib/.libs/libzorp.so: undefined reference to `CRYPTO_free' ../lib/.libs/libzorp.so: undefined reference to `SSL_load_error_strings' ../lib/.libs/libzorp.so: undefined reference to `X509_get_subject_name' ../lib/.libs/libzorp.so: undefined reference to `ERR_lib_error_string' ../lib/.libs/libzorp.so: undefined reference to `ERR_reason_error_string' ../lib/.libs/libzorp.so: undefined reference to `ERR_clear_error' ../lib/.libs/libzorp.so: undefined reference to `ERR_func_error_string' ../lib/.libs/libzorp.so: undefined reference to `ERR_get_error' ../lib/.libs/libzorp.so: undefined reference to `SSLv3_client_method' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_use_PrivateKey_file' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_check_private_key' ../lib/.libs/libzorp.so: undefined reference to `SSL_CTX_use_certificate_file' ../lib/.libs/libzorp.so: undefined reference to `SSL_connect' ../lib/.libs/libzorp.so: undefined reference to `SSL_free' ../lib/.libs/libzorp.so: undefined reference to `SSL_get_peer_certificate' ../lib/.libs/libzorp.so: undefined reference to `SSL_write' collect2: ld returned 1 exit status make[2]: *** [zorp] Error 1
a libssl ill a libssl-dev a balabi.hu rol toltottem le (deb) valamint fent van a non-us bol is egy libssl de az dependel az ssh val
valamiert nem talalta meg az ssl es crypto libeket, config.log -ot tudsz mutatni? -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
Udv kicsit lassan de ide ertem :-)
valamiert nem talalta meg az ssl es crypto libeket, config.log -ot tudsz mutatni?
ha kell elkuldom az egeszet de azt hiszem ez az erdekes resze ltconfig:959: gcc -o conftest -g -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -static conftest.c 1>&5 /usr/bin/ld: cannot find -lpython1.5 collect2: ld returned 1 exit status GNU ld version 2.9.5 (with BFD 2.9.5.0.37) a tobbit latszolag megtalalta a python termeszetesen fent van max meg valamelyik kis csomagot kell feltelepiteni de hogy melyiket? (Debian Potato) (a deb bol telepitet zorp az muxik) udv Robit
A levelezőm azt hiszi, hogy Szucs Tibor a következőeket írta:
Udv
kicsit lassan de ide ertem :-)
valamiert nem talalta meg az ssl es crypto libeket, config.log -ot tudsz mutatni?
ha kell elkuldom az egeszet de azt hiszem ez az erdekes resze
ltconfig:959: gcc -o conftest -g -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -static conftest.c 1>&5 /usr/bin/ld: cannot find -lpython1.5 collect2: ld returned 1 exit status GNU ld version 2.9.5 (with BFD 2.9.5.0.37)
a tobbit latszolag megtalalta
a python termeszetesen fent van max meg valamelyik kis csomagot kell feltelepiteni de hogy melyiket? (Debian Potato)
python-dev ? -- GNU GPL: csak tiszta forrásból
On Tue, 24 Oct 2000, [iso-8859-2] Magosányi Árpád wrote:
On Tue, 24 Oct 2000, [iso-8859-2] Magosányi Árpád wrote:
python-dev ?
fent van
dpkg -s python-dev mit mond?
galadriel:/usr/src/zorp-0.5.13# dpkg -s python-dev Package: python-dev Status: install ok installed Priority: optional Section: interpreters Installed-Size: 1108 Maintainer: Gregor Hoffleit <flight@debian.org> Source: python Version: 1.5.2-10 Depends: python-base (= 1.5.2-10) Description: Header files and a static library for Python. Header files, a static library and development tools for building Python modules, extending the Python interpreter or embedding Python in applications.
Hi! Megvan. Valamiért statikusan akarja fordítani, és a libpython1.5.a helye: /usr/lib/python1.5/config/libpython1.5.a a dinamikus van a /usr/lib-ben. Tehát vagy a -static nem kell, vagy kell egy -L/usr/lib/python1.5/config De hogy most ez kinek a hibája és a configure miért nem vette észre, azt csak Bazsi tudja. A levelezőm azt hiszi, hogy Magosányi Árpád a következőeket írta:
A levelezőm azt hiszi, hogy Szucs Tibor a következőeket írta:
Udv
kicsit lassan de ide ertem :-)
valamiert nem talalta meg az ssl es crypto libeket, config.log -ot tudsz mutatni?
ha kell elkuldom az egeszet de azt hiszem ez az erdekes resze
ltconfig:959: gcc -o conftest -g -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -static conftest.c 1>&5 /usr/bin/ld: cannot find -lpython1.5 collect2: ld returned 1 exit status GNU ld version 2.9.5 (with BFD 2.9.5.0.37)
a tobbit latszolag megtalalta
a python termeszetesen fent van max meg valamelyik kis csomagot kell feltelepiteni de hogy melyiket? (Debian Potato)
python-dev ?
-- GNU GPL: csak tiszta forrásból
_______________________________________________ zorp-hu mailing list zorp-hu@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/zorp-hu
-- GNU GPL: csak tiszta forrásból
On Tue, 24 Oct 2000, [iso-8859-2] Magosányi Árpád wrote:
Hi!
Valamiért statikusan akarja fordítani, és a libpython1.5.a helye: /usr/lib/python1.5/config/libpython1.5.a a dinamikus van a /usr/lib-ben. Tehát vagy a -static nem kell, vagy kell egy -L/usr/lib/python1.5/config
ok ezeket hova ? a zorp konyvtarban levo Makefile hal ki de abban nincs static ha a python lib konyvtarnak megadom a configure -ban a -L/usr/lib/python1.5/config (eredetileg a config hianyzik) a jelenseg ua ekkor csinaltam egy linket /usr/lib/python1.5/config konyvtarba libpython1.5 neven ilyenkor a configure latszolag megtalalja de a forditaskor ugyanugy kilep ha a ./configure --enable-static=no val forditom akkor is ugyanugy kilep. Udv Robit
Valamiért statikusan akarja fordítani, és a libpython1.5.a helye: /usr/lib/python1.5/config/libpython1.5.a a dinamikus van a /usr/lib-ben. Tehát vagy a -static nem kell, vagy kell egy -L/usr/lib/python1.5/config
ok ezeket hova ?
a zorp konyvtarban levo Makefile hal ki de abban nincs static ha a python lib konyvtarnak megadom a configure -ban a -L/usr/lib/python1.5/config (eredetileg a config hianyzik) a jelenseg ua
ekkor csinaltam egy linket /usr/lib/python1.5/config konyvtarba libpython1.5 neven ilyenkor a configure latszolag megtalalja de a forditaskor ugyanugy kilep
ha a ./configure --enable-static=no val forditom akkor is ugyanugy kilep.
az a fura, hogy en nem akarok semmit sem static-kal forditani, es nem egeszen ertem, hogy hogyan kerul oda az a kapcsolo. A notebook-omon egy friss potato van (most telepitettem ujra, mert a Gyorko elcseszte az ext2 particiomat), es minden tovabbi nelkul fordul. tovabbra is jo lenne a config.log, illetve a config.cache tartalma. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
Udv On Tue, 24 Oct 2000, Balazs Scheidler wrote:
az a fura, hogy en nem akarok semmit sem static-kal forditani, es nem egeszen ertem, hogy hogyan kerul oda az a kapcsolo. A notebook-omon egy friss potato van (most telepitettem ujra, mert a Gyorko elcseszte az ext2 particiomat), es minden tovabbi nelkul fordul. tovabbra is jo lenne a config.log, illetve a config.cache tartalma.
akkor ollo :-) ac_cv_exeext=${ac_cv_exeext=no} ac_cv_func_getutent=${ac_cv_func_getutent=yes} ac_cv_func_inet_aton=${ac_cv_func_inet_aton=yes} ac_cv_func_select=${ac_cv_func_select=yes} ac_cv_func_snprintf=${ac_cv_func_snprintf=yes} ac_cv_func_socket=${ac_cv_func_socket=yes} ac_cv_func_strerror=${ac_cv_func_strerror=yes} ac_cv_func_strncpy=${ac_cv_func_strncpy=yes} ac_cv_func_vsnprintf=${ac_cv_func_vsnprintf=yes} ac_cv_lib_crypto_des_ecb_encrypt=${ac_cv_lib_crypto_des_ecb_encrypt=no} ac_cv_lib_nsl_gethostbyname=${ac_cv_lib_nsl_gethostbyname=yes} ac_cv_lib_python_Py_Finalize=${ac_cv_lib_python_Py_Finalize=no} ac_cv_lib_socket_setsockopt=${ac_cv_lib_socket_setsockopt=no} ac_cv_lib_ssl_SSL_accept=${ac_cv_lib_ssl_SSL_accept=no} ac_cv_lib_xnet_inet_addr=${ac_cv_lib_xnet_inet_addr=no} ac_cv_path_LD=${ac_cv_path_LD=/usr/bin/ld} ac_cv_path_NM=${ac_cv_path_NM='/usr/bin/nm -B'} ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'} ac_cv_path_path_python=${ac_cv_path_path_python=/usr/bin/python} ac_cv_prog_CC=${ac_cv_prog_CC=gcc} ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'} ac_cv_prog_LN_S=${ac_cv_prog_LN_S='ln -s'} ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib} ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no} ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes} ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes} ac_cv_prog_gcc=${ac_cv_prog_gcc=yes} ac_cv_prog_gnu_ld=${ac_cv_prog_gnu_ld=yes} ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes} blb_cv_msg_proxy=${blb_cv_msg_proxy=yes} configure:577: checking for a BSD compatible install configure:630: checking whether build environment is sane configure:687: checking whether make sets ${MAKE} configure:733: checking for working aclocal configure:746: checking for working autoconf configure:759: checking for working automake configure:772: checking for working autoheader configure:785: checking for working makeinfo configure:884: checking for gcc configure:997: checking whether the C compiler (gcc -g -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm) works configure:1013: gcc -o conftest -g -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm conftest.c 1>&5 configure:1039: checking whether the C compiler (gcc -g -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm) is a cross-compiler configure:1044: checking whether we are using GNU C configure:1072: checking whether gcc accepts -g configure:1104: checking how to run the C preprocessor configure:1186: checking for ranlib configure:1289: checking host system type configure:1310: checking build system type configure:1339: checking for ld used by GCC configure:1402: checking if the linker (/usr/bin/ld) is GNU ld configure:1418: checking for BSD-compatible nm configure:1455: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: gcc -c -g -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:776: checking if gcc PIC flag -fPIC works ltconfig:777: gcc -c -g -fPIC -DPIC -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -g -o out/conftest2.o -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:862: checking if gcc supports -c -o file.lo ltconfig:863: gcc -c -g -c -o conftest.lo -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:915: gcc -c -g -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:958: checking if gcc static flag -static works ltconfig:959: gcc -o conftest -g -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -static conftest.c 1>&5 /usr/bin/ld: cannot find -lpython1.5 collect2: ld returned 1 exit status GNU ld version 2.9.5 (with BFD 2.9.5.0.37) ltconfig:1592: checking if global_symbol_pipe works ltconfig:1593: gcc -c -g -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:1596: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1648: gcc -o conftest -g -fno-builtin -fno-rtti -fno-exceptions -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm conftest.c conftstm.o 1>&5 configure:1652: checking for python configure:1698: checking for MSG_PROXY configure:1740: checking for socket configure:1795: checking for select configure:1795: checking for snprintf configure:1795: checking for vsnprintf configure:1795: checking for strerror configure:1795: checking for inet_aton configure:1795: checking for strncpy configure:1795: checking for getutent configure:1848: checking for inet_addr in -lxnet configure:1895: checking for gethostbyname in -lnsl configure:1942: checking for setsockopt in -lsocket configure:1989: checking for Py_Finalize in -lpython configure:2037: checking for des_ecb_encrypt in -lcrypto configure:2084: checking for SSL_accept in -lssl erdekes szamomra hogy ezek a hivasok a lib/stayr.c ben vannak ami a libzorp.so forditasakor lefordult es bekerul .libs konyvtarba és csak kesobb szal ell. Udv Robit
hali,
ac_cv_exeext=${ac_cv_exeext=no} ac_cv_func_getutent=${ac_cv_func_getutent=yes} ac_cv_func_inet_aton=${ac_cv_func_inet_aton=yes} ac_cv_func_select=${ac_cv_func_select=yes} ac_cv_func_snprintf=${ac_cv_func_snprintf=yes} ac_cv_func_socket=${ac_cv_func_socket=yes} ac_cv_func_strerror=${ac_cv_func_strerror=yes} ac_cv_func_strncpy=${ac_cv_func_strncpy=yes} ac_cv_func_vsnprintf=${ac_cv_func_vsnprintf=yes} ac_cv_lib_crypto_des_ecb_encrypt=${ac_cv_lib_crypto_des_ecb_encrypt=no}
libssl09-dev hianyzik.
ac_cv_lib_nsl_gethostbyname=${ac_cv_lib_nsl_gethostbyname=yes} ac_cv_lib_python_Py_Finalize=${ac_cv_lib_python_Py_Finalize=no}
opsz, ez itt egy rossz teszt.
ac_cv_lib_socket_setsockopt=${ac_cv_lib_socket_setsockopt=no} ac_cv_lib_ssl_SSL_accept=${ac_cv_lib_ssl_SSL_accept=no} ac_cv_lib_xnet_inet_addr=${ac_cv_lib_xnet_inet_addr=no} ac_cv_path_LD=${ac_cv_path_LD=/usr/bin/ld} ac_cv_path_NM=${ac_cv_path_NM='/usr/bin/nm -B'} ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'} ac_cv_path_path_python=${ac_cv_path_path_python=/usr/bin/python} ac_cv_prog_CC=${ac_cv_prog_CC=gcc} ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'} ac_cv_prog_LN_S=${ac_cv_prog_LN_S='ln -s'} ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib} ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no} ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes} ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes} ac_cv_prog_gcc=${ac_cv_prog_gcc=yes} ac_cv_prog_gnu_ld=${ac_cv_prog_gnu_ld=yes} ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes} blb_cv_msg_proxy=${blb_cv_msg_proxy=yes}
configure:577: checking for a BSD compatible install configure:630: checking whether build environment is sane configure:687: checking whether make sets ${MAKE} configure:733: checking for working aclocal configure:746: checking for working autoconf configure:759: checking for working automake configure:772: checking for working autoheader configure:785: checking for working makeinfo configure:884: checking for gcc configure:997: checking whether the C compiler (gcc -g -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm) works configure:1013: gcc -o conftest -g -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm conftest.c 1>&5 configure:1039: checking whether the C compiler (gcc -g -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm) is a cross-compiler configure:1044: checking whether we are using GNU C configure:1072: checking whether gcc accepts -g configure:1104: checking how to run the C preprocessor configure:1186: checking for ranlib configure:1289: checking host system type configure:1310: checking build system type configure:1339: checking for ld used by GCC configure:1402: checking if the linker (/usr/bin/ld) is GNU ld configure:1418: checking for BSD-compatible nm configure:1455: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: gcc -c -g -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:776: checking if gcc PIC flag -fPIC works ltconfig:777: gcc -c -g -fPIC -DPIC -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -g -o out/conftest2.o -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:862: checking if gcc supports -c -o file.lo ltconfig:863: gcc -c -g -c -o conftest.lo -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:915: gcc -c -g -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/zorp/include -I/usr/include/python1.5 conftest.c 1>&5 ltconfig:958: checking if gcc static flag -static works ltconfig:959: gcc -o conftest -g -I/usr/local/zorp/include -I/usr/include/python1.5 -L/usr/local/zorp/lib -L/usr/lib/python1.5 -lpython1.5 -lm -static conftest.c 1>&5 /usr/bin/ld: cannot find -lpython1.5 collect2: ld returned 1 exit status
megvan. a configure.in-ben van egy AC_ARG_WITH(python-libs) ... kezdetu sor. innen torold ki a sor vegerol az -lpython1.5 -lm sorokat, hogy igy nezzen ki: AC_ARG_WITH(python-libs, [--with-python-libs=[path] Python libraries are located at path], LDFLAGS="$LDFLAGS -L$with_python_libs", LDFLAGS="$LDFLAGS -L/usr/lib/python1.5") aztan keresd meg az AC_CHECK_LIB(python, Py_Finalize) sort, es csereld ki: AC_CHECK_LIB(python1.5, Py_Finalize) AC_CHECK_LIB(m, sin) ezek utan futass le egy autoconf-ot, majd ./configure es a tobbi mar ugyanugy (make, make install)
erdekes szamomra hogy ezek a hivasok a lib/stayr.c ben vannak ami a libzorp.so forditasakor lefordult es bekerul .libs konyvtarba és csak kesobb szal ell.
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
no sikeresen lefordult hogy hogyan ? velhetoen a probalkozasok soran is valami elkavarodott mivel a modositasok nem okoztak valtozast akkor lecsap majd ujra kitaroltam es akkor lefordult fut is viszont itt is elojott hogy mivel a ipchains ftp re meg rosszol van beallitva egy nmap a szerverre es a zorp kiakad ebben az az erdekes hogy ilyenkor a szerver elvileg vedetlen marad Udv Robit
no sikeresen lefordult hogy hogyan ? velhetoen a probalkozasok soran is valami elkavarodott mivel a modositasok nem okoztak valtozast akkor lecsap majd ujra kitaroltam es akkor lefordult
fut is
viszont itt is elojott hogy mivel a ipchains ftp re meg rosszol van beallitva egy nmap a szerverre es a zorp kiakad ebben az az erdekes hogy ilyenkor a szerver elvileg vedetlen marad
azokat a portokat, ahova transzparens szolgaltatasokat huzol fel es redirectalsz, ipchains-el vedeni kell. tehat, ha a transzparens FTP proxy 50021-es porton fut (hogy ne utkozzon a 21-es porttal), es a kliensek egy redirect rule-lal kerulnek a listenerre, akkor az 50021-es portra nem szabad a tuzfal IP-jen szolgaltatast elfogadni. Ezt leginkabb ket chain-nel erdemes megcsinalni, az egyik akkor hajtodik vegre, ha kozvetlenul a tuzfalat szolitjak, a masik, amikor a kliens tulcimzi azt, pl: ipchains -A input -i eth0 -d 192.168.0.1 -j LOintra (192.168.0.1 a tuzfal IP-je) ipchains -A input -i eth0 -d 0/0 -j INintra (osszes tobbi) # tulcimzo kliensek ipchains -A INintra -d 0/0 21 -j REDIRECT 50021 ipchains -A INintra -l -j DENY # tuzfal altal nyujtott szolgaltatasok (altalaban nativ proxyk) ipchains -A LOintra -l -j DENY ilyen modon a transzparens listeneredre soha nem kerul keres kozvetlenul, es ezert nem kergeti magat vegtelenciklusba a zorp. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
participants (3)
-
Balazs Scheidler
-
Magosányi Árpád
-
Szucs Tibor