[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] compilation errors



in the past, i have read a lot of mail from people having problems compiling
mysql,apache,php,bind etc.
these hints might help you

1)

when you link files, the linker first looks in /etc/ld.so.cache, then in
LD_LIBRARY_PATH, then in -L switches to find the shared libraries.

the configuration of the shared libraries is seriously broken, even on
freshly delivered raqs!

to fix this, you have to create a file /etc/ld.so.conf.
add the following directories:

/lib
/usr/lib
/usr/lib/apache
/usr/lib/mysql
/usr/local/lib

if you build perl as a shared library, /usr/lib/perl5 will not hurt either.

then delete /etc/ld.so.cache
after that, run "ldconfig -Dvp". this will recreate your cache.

repeat this after building/rebuilding/updating any libraries.

this replaces the (temporary) solutions of setting the LD_LIBRARY_PATH.

2)

neither of automake, autoconf, libtool is up to date. this might break some
Makefiles.

3)

GNU bc is not installed. this breaks the apxs-compilation of mod_backhand.


these hints will help compiling at least:
perl 5.6.0
apache 1.3.14
php4
mysql 3.22.27
mod_perl 1.24
mod_ssl 
openssl 0.95
midgard
ipfwadm
squid 2.3

i would appreciate help with compiling
bind 9  
(
../../lib/isc/libisc.a(thread.o): In function `isc_thread_create':
/home/src/bind-9.0.0/lib/isc/pthreads/thread.c:39: undefined reference to
`pthread_attr_getstacksize'
) 
sara
snort

i would appreciate a firewall solution for a raq 3, too


Stefan Osterlitz
Administrator

BloX.AG
Muenster
Germany