Hello,

On one very old server, there is Oracle Linux 6. I need to switch there
to latest subversion with OpenSSL for HTTPS with latest ciphers.

I want to compile subversion to one static binary and use that instead
of existing system one.

I am preparing all dependencies. I always only compile, never install
and I'm referencing source directories with prepared libraries.

I was able to do that with configure for other dependencies, but I am
not experienced with SCons.

Could you kindly help me to compile serf to libraries? I will then use
them to compile subversion.

I had to create bin directories inside APU and APR source dirs and link
configs there for scons, but can't build serf with this error:


~/src/serf-1.3.9 $ 
../scons.py -c
../scons.py -Y APR=/home/navratil/src/apr-1.7.0 
APU=/home/navratil/src/apr-util-1.6.1 OPENSSL=/home/navratil/src/openssl-3.0.2

gcc -o libserf-1.so.1.3.0 -pthread -shared -Wl,-Bsymbolic 
-Wl,-soname=libserf-1.so.1 -Wl,-rpath=/home/navratil/src/serf-1.3.9/output/lib 
-Wl,-rpath=/home/navratil/src/apr-1.7.0 
-Wl,-rpath=/home/navratil/src/apr-util-1.6.1 
-Wl,-rpath=/home/navratil/src/openssl-3.0.2/lib context.os incoming.os 
outgoing.os ssltunnel.os buckets/aggregate_buckets.os buckets/allocator.os 
buckets/barrier_buckets.os buckets/buckets.os buckets/bwtp_buckets.os 
buckets/chunk_buckets.os buckets/dechunk_buckets.os buckets/deflate_buckets.os 
buckets/file_buckets.os buckets/headers_buckets.os buckets/iovec_buckets.os 
buckets/limit_buckets.os buckets/mmap_buckets.os buckets/request_buckets.os 
buckets/response_body_buckets.os buckets/response_buckets.os 
buckets/simple_buckets.os buckets/socket_buckets.os buckets/ssl_buckets.os 
auth/auth.os auth/auth_basic.os auth/auth_digest.os auth/auth_spnego.os 
auth/auth_spnego_gss.os auth/auth_spnego_sspi.os -L/home/navratil/src/apr-1.7.0 
-L/home/navratil/src/apr-util-1.6.1 -L/home/navratil/src/openssl-3.0.2/lib 
-lssl -lcrypto -lz -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl -laprutil-1 
-lexpat
/bin/ld: cannot find -lssl
/bin/ld: cannot find -lcrypto
/bin/ld: cannot find -lapr-1
/bin/ld: cannot find -laprutil-1
collect2: error: ld returned 1 exit status
scons: *** [libserf-1.so.1.3.0] Error 1
scons: building terminated because of errors.

Thank you a lot,
Jiří

Reply via email to