fatal: libexpat.so.0: open failed: No such file or directory

fatal: libexpat.so.0: open failed: No such file or directory

am 14.08.2002 22:41:05 von MBoualem

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C243D2.E9279BDA
Content-Type: text/plain

Hi,
when I try to compile apache using modssl, I go through step 1, 2, 3, 4 with no problem.
then at step 5 everything goes fine until "make" is run, then it fails with the below message.
does anyone have an idea why it's looking for a file that doesn't exists in the openSSL library,
and what's the fix?



# cd apache_1.3.26
# make
===> src
make[1]: Entering directory `/home/i70815/apache_1.3.26'
make[2]: Entering directory `/home/i70815/apache_1.3.26/src'
===> src/os/unix
gcc -c -I../../os/unix -I../../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../../apaci` os.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../../apaci` os-inline.c
rm -f libos.a
ar cr libos.a os.o os-inline.o
ranlib libos.a
<=== src/os/unix
===> src/ap
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_cpystrn.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_execve.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_fnmatch.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_getpass.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_md5c.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_signal.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_slack.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_snprintf.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_sha1.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_checkpass.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_base64.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_ebcdic.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_strtol.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_hook.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_ctx.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` ap_mm.c
rm -f libap.a
ar cr libap.a ap_cpystrn.o ap_execve.o ap_fnmatch.o ap_getpass.o ap_md5c.o ap_signal.o ap_slack.o ap_snprintf.o ap_sha1.o
ap_checkpass.o ap_base64.o ap_ebcdic.o ap_strtol.o ap_hook.o ap_ctx.o ap_mm.o
ranlib libap.a
<=== src/ap
===> src/main
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` gen_test_char.c
gcc -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED `../apaci` -L/home/i70815/openssl-0.9.6g -o gen_test_char
gen_test_char.o -lsocket -lnsl -lpthread -lssl -lcrypto -lexpat
../gen_test_char >test_char.h
ld.so.1: ./gen_test_char: fatal: libexpat.so.0: open failed: No such file or directory
Killed
make[3]: *** [test_char.h] Error 137
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/i70815/apache_1.3.26/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/i70815/apache_1.3.26'
make: *** [build] Error 2




------_=_NextPart_001_01C243D2.E9279BDA
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable




charset=3Dus-ascii">
5.5.2653.12">
fatal: libexpat.so.0: open failed: No such file or =<br /> directory



Hi,

when I try to compile apache using =
modssl, I go through step 1, 2, 3, 4 with no problem.


then at step 5 everything goes fine =
until "make" is run, then it fails with the below =
message.


does anyone have an idea why it's =
looking for a file that doesn't exists in the openSSL library,


and what's the fix?







# cd apache_1.3.26

# make

===3D> src

make[1]: Entering directory =
`/home/i70815/apache_1.3.26'


make[2]: Entering directory =
`/home/i70815/apache_1.3.26/src'


===3D> src/os/unix

gcc -c  -I../../os/unix =
-I../../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../../apaci` os.c


gcc -c  -I../../os/unix =
-I../../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../../apaci` os-inline.c



rm -f libos.a

ar cr libos.a os.o =
os-inline.o


ranlib libos.a

<===3D src/os/unix

===3D> src/ap

gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_cpystrn.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_execve.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_fnmatch.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_getpass.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_md5c.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_signal.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_slack.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_snprintf.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_sha1.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_checkpass.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_base64.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_ebcdic.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_strtol.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_hook.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_ctx.c


gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` ap_mm.c


rm -f libap.a

ar cr libap.a ap_cpystrn.o =
ap_execve.o ap_fnmatch.o ap_getpass.o ap_md5c.o ap_signal.o ap_slack.o =
ap_snprintf.o ap_sha1.o



ap_checkpass.o ap_base64.o =
ap_ebcdic.o ap_strtol.o ap_hook.o ap_ctx.o ap_mm.o


ranlib libap.a

<===3D src/ap

===3D> src/main

gcc -c  -I../os/unix =
-I../include   -DSOLARIS2=3D270 -DMOD_SSL=3D208110 -DEAPI =
-DNO_DL_NEEDED `../apaci` gen_test_char.c


gcc  -DSOLARIS2=3D270 =
-DMOD_SSL=3D208110 -DEAPI -DNO_DL_NEEDED `../apaci` =
-L/home/i70815/openssl-0.9.6g  -o gen_test_char


gen_test_char.o  -lsocket =
-lnsl -lpthread  -lssl -lcrypto -lexpat


./gen_test_char =
>test_char.h


ld.so.1: ./gen_test_char: fatal: =
libexpat.so.0: open failed: No such file or directory


Killed

make[3]: *** [test_char.h] Error =
137


make[2]: *** [subdirs] Error =
1


make[2]: Leaving directory =
`/home/i70815/apache_1.3.26/src'


make[1]: *** [build-std] Error =
2


make[1]: Leaving directory =
`/home/i70815/apache_1.3.26'


make: *** [build] Error 2









------_=_NextPart_001_01C243D2.E9279BDA--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: fatal: libexpat.so.0: open failed: No such file or directory

am 14.08.2002 23:31:35 von Madhon

fatal: libexpat.so.0: open failed: No such file or directoryyou might be
missing the expat library
the source is available http://sourceforge.net/projects/expat/

----- Original Message -----
From: Boualem, Moncef
To: 'modssl-users@modssl.org'
Sent: Wednesday, August 14, 2002 9:41 PM
Subject: fatal: libexpat.so.0: open failed: No such file or directory


Hi,
when I try to compile apache using modssl, I go through step 1, 2, 3, 4 with
no problem.
then at step 5 everything goes fine until "make" is run, then it fails with
the below message.
does anyone have an idea why it's looking for a file that doesn't exists in
the openSSL library,
and what's the fix?



# cd apache_1.3.26
# make
===> src
make[1]: Entering directory `/home/i70815/apache_1.3.26'
make[2]: Entering directory `/home/i70815/apache_1.3.26/src'
===> src/os/unix
gcc -c -I../../os/unix -I../../include -DSOLARIS2=270 -DMOD_SSL=208110 -D
EAPI -DNO_DL_NEEDED `../../apaci` os.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=270 -DMOD_SSL=208110 -D
EAPI -DNO_DL_NEEDED `../../apaci` os-inline.c
rm -f libos.a
ar cr libos.a os.o os-inline.o
ranlib libos.a
<=== src/os/unix
===> src/ap
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_cpystrn.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_execve.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_fnmatch.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_getpass.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_md5c.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_signal.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_slack.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_snprintf.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_sha1.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_checkpass.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_base64.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_ebcdic.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_strtol.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_hook.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_ctx.c
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` ap_mm.c
rm -f libap.a
ar cr libap.a ap_cpystrn.o ap_execve.o ap_fnmatch.o ap_getpass.o ap_md5c.o
ap_signal.o ap_slack.o ap_snprintf.o ap_sha1.o
ap_checkpass.o ap_base64.o ap_ebcdic.o ap_strtol.o ap_hook.o ap_ctx.o
ap_mm.o
ranlib libap.a
<=== src/ap
===> src/main
gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -
DNO_DL_NEEDED `../apaci` gen_test_char.c
gcc -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI -DNO_DL_NEEDED
`../apaci` -L/home/i70815/openssl-0.9.6g -o gen_test_char
gen_test_char.o -lsocket -lnsl -lpthread -lssl -lcrypto -lexpat
../gen_test_char >test_char.h
ld.so.1: ./gen_test_char: fatal: libexpat.so.0: open failed: No such file or
directory
Killed
make[3]: *** [test_char.h] Error 137
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/i70815/apache_1.3.26/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/i70815/apache_1.3.26'
make: *** [build] Error 2

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org