Probleminiz su:
1) ldconfig sisteminizde bulunan librarylerin bir listesini tutar. Bu listeyi tutan dosya bozulmus.


2) Ya da bu dosyayi yanlislikla siz sifirlamissiniz ( ldconfig komutunu
parametresiz olarak calistirirsaniz olur bu). Linux'te ldconfig komutu ile /etc/ld.so.conf'un okutulmasi saglanir. Fakat FreeBSD 'de ldconfig komutunu parametresiz olarak calistirirsaniz bu library listesini tutan dosya sifirlanir.


Ipucu isteriz ;) (Bizden cozum sizden ipucu girmek )


Mesut GÜLNAZ writes:


arkadaşlar Ömer Bey'in dediği ve verdiği komut sistemim 4.9-stable olduğu için hata vermeden çalıştı ve apache şu anda başladı.

[Thu Nov 18 08:35:06 2004] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Nov 18 08:35:07 2004] [notice] Apache/1.3.33 (Unix) mod_perl/1.29 PHP/4.3.9 configured -- resuming normal operations
[Thu Nov 18 08:35:07 2004] [notice] Accept mutex: flock (Default: flock)


teşekkür ediyorum. ama sorun neymiş anlayamadım ben. xml i kurarken hatalar alıyorum. bu hataları ve xml in songörev listesini de buraya pasteliyorum. acaba sorun ne olabilir.

/usr/include/stdlib.h:111: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:117: warning: ANSI C does not support `long long'
In file included from /usr/include/readline/readline.h:37,
from xmlcatalog.c:20:
/usr/include/readline/keymaps.h:40: warning: function declaration isn't a prototype
/usr/include/readline/keymaps.h:41: warning: function declaration isn't a prototype
/usr/include/readline/keymaps.h:42: warning: function declaration isn't a prototype
/usr/include/readline/keymaps.h:43: warning: function declaration isn't a prototype
In file included from xmlcatalog.c:20:
/usr/include/readline/readline.h:304: warning: redundant redeclaration of `rl_make_bare_keymap' in same scope
/usr/include/readline/keymaps.h:79: warning: previous declaration of `rl_make_bare_keymap'
/usr/include/readline/readline.h:305: warning: redundant redeclaration of `rl_copy_keymap' in same scope
/usr/include/readline/keymaps.h:82: warning: previous declaration of `rl_copy_keymap'
/usr/include/readline/readline.h:306: warning: redundant redeclaration of `rl_make_keymap' in same scope
/usr/include/readline/keymaps.h:87: warning: previous declaration of `rl_make_keymap'
/usr/include/readline/readline.h:307: warning: redundant redeclaration of `rl_discard_keymap' in same scope
/usr/include/readline/keymaps.h:90: warning: previous declaration of `rl_discard_keymap'
/usr/include/readline/readline.h:309: warning: redundant redeclaration of `rl_get_keymap_by_name' in same scope
/usr/include/readline/keymaps.h:96: warning: previous declaration of `rl_get_keymap_by_name'
/usr/include/readline/readline.h:311: warning: redundant redeclaration of `rl_set_keymap' in same scope
/usr/include/readline/keymaps.h:102: warning: previous declaration of `rl_set_keymap'
/usr/include/readline/readline.h:312: warning: redundant redeclaration of `rl_get_keymap' in same scope
/usr/include/readline/keymaps.h:99: warning: previous declaration of `rl_get_keymap'
/usr/include/readline/readline.h:343: warning: function declaration isn't a prototype
-------------------------------------------------------------------------
creating xmlcatalog
mkdir -p -- . /usr/local/lib
/bin/sh /usr/local/bin/libtool15 --mode=install /usr/bin/install -c -o root -g wheel libxml2.la /usr/local/lib/libxml2.la
/usr/bin/install -c -o root -g wheel .libs/libxml2.so.5 /usr/local/lib/libxml2.so.5
(cd /usr/local/lib && rm -f libxml2.so && ln -s libxml2.so.5 libxml2.so)
(cd /usr/local/lib && rm -f libxml2.so && ln -s libxml2.so.5 libxml2.so)
/usr/bin/install -c -o root -g wheel .libs/libxml2.a /usr/local/lib/libxml2.a
ranlib /usr/local/lib/libxml2.a
chmod 644 /usr/local/lib/libxml2.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib


If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag


See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
mkdir -p -- . /usr/local/bin
/bin/sh /usr/local/bin/libtool15 --mode=install install -c -s -o root -g wheel -m 555 xmllint /usr/local/bin/xmllint
libtool15: install: warning: `./libxml2.la' has not been installed in `/usr/local/lib'
install -c -o root -g wheel -m 555 -s .libs/xmllint /usr/local/bin/xmllint
/bin/sh /usr/local/bin/libtool15 --mode=install install -c -s -o root -g wheel -m 555 xmlcatalog /usr/local/bin/xmlcatalog
libtool15: install: warning: `./libxml2.la' has not been installed in `/usr/local/lib'
install -c -o root -g wheel -m 555 -s .libs/xmlcatalog /usr/local/bin/xmlcatalog
mkdir -p -- . /usr/local/bin
install -c -o root -g wheel -m 555 xml2-config /usr/local/bin/xml2-config
mkdir -p -- . /usr/local/etc
install -c -o root -g wheel -m 444 xml2Conf.sh /usr/local/etc/xml2Conf.sh
/bin/sh ./mkinstalldirs /usr/local/share/doc/libxml2
mkdir -p -- /usr/local/share/doc/libxml2
/usr/bin/install -c -o root -g wheel -m 0644 ./Copyright /usr/local/share/doc/libxml2
/bin/sh ./mkinstalldirs /usr/local/share/examples/libxml2
mkdir -p -- /usr/local/share/examples/libxml2
/usr/bin/install -c -o root -g wheel -m 0644 ./xmllint.c /usr/local/share/examples/libxml2
/usr/bin/install -c -o root -g wheel -m 0644 ./testSAX.c /usr/local/share/examples/libxml2
/usr/bin/install -c -o root -g wheel -m 0644 ./testHTML.c /usr/local/share/examples/libxml2
/usr/bin/install -c -o root -g wheel -m 0644 ./testXPath.c /usr/local/share/examples/libxml2
mkdir -p -- . /usr/local/share/aclocal
install -c -o root -g wheel -m 444 libxml.m4 /usr/local/share/aclocal/libxml.m4
mkdir -p -- . /usr/local/man/man1
install -c -o root -g wheel -m 444 ./xml2-config.1 /usr/local/man/man1/xml2-config.1
mkdir -p -- . /usr/local/man/man3
install -c -o root -g wheel -m 444 ./libxml.3 /usr/local/man/man3/libxml.3
mkdir -p -- . /usr/local/libdata/pkgconfig
install -c -o root -g wheel -m 444 libxml-2.0.pc /usr/local/libdata/pkgconfig/libxml-2.0.pc
gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16'
gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16'
Making install in doc
gmake[1]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc'
Making install in examples
gmake[2]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc/examples'
gmake[3]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc/examples'
gmake[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/local/share/doc/libxml2
/usr/bin/install -c -o root -g wheel -m 0644 ./*.html ./*.c ./*.xml ./*.xsl ./*.res /usr/local/share/doc/libxml2
install: ./*.html: No such file or directory
gmake[3]: [install-data-local] Error 71 (ignored)
gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc/examples'
gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc/examples'
gmake[2]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc'
gmake[3]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc'
gmake[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/share/doc/libxml2
/usr/bin/install -c -o root -g wheel -m 0644 ./xml.html ./encoding.html ./FAQ.html ./structure.gif ./DOM.gif ./smallfootonly.gif ./redhat.gif ./libxml.gif ./w3c.png ./Libxml2-Logo-180x168.gif ./Libxml2-Logo-90x34.gif /usr/local/share/doc/libxml2
/bin/sh ../mkinstalldirs /usr/local/share/doc/libxml2/html
mkdir -p -- /usr/local/share/doc/libxml2/html
/usr/bin/install -c -o root -g wheel -m 0644 ./html/*.html /usr/local/share/doc/libxml2/html
/usr/bin/install -c -o root -g wheel -m 0644 ./html/*.png /usr/local/share/doc/libxml2/html
/usr/bin/install -c -o root -g wheel -m 0644 ./html/index.sgml /usr/local/share/doc/libxml2/html
install: ./html/index.sgml: No such file or directory
gmake[3]: [install-data-local] Error 71 (ignored)
/bin/sh ../mkinstalldirs /usr/local/share/doc/libxml2/tutorial
mkdir -p -- /usr/local/share/doc/libxml2/tutorial
/usr/bin/install -c -o root -g wheel -m 0644 ./tutorial/*.* \
/usr/local/share/doc/libxml2/tutorial
/bin/sh ../mkinstalldirs /usr/local/share/doc/libxml2/tutorial/images
mkdir -p -- /usr/local/share/doc/libxml2/tutorial/images
/usr/bin/install -c -o root -g wheel -m 0644 ./tutorial/images/*.* \
/usr/local/share/doc/libxml2/tutorial/images
/bin/sh ../mkinstalldirs /usr/local/share/doc/libxml2/tutorial/images/callouts
mkdir -p -- /usr/local/share/doc/libxml2/tutorial/images/callouts
/usr/bin/install -c -o root -g wheel -m 0644 ./tutorial/images/callouts/*.* \
/usr/local/share/doc/libxml2/tutorial/images/callouts
mkdir -p -- . /usr/local/man/man1
install -c -o root -g wheel -m 444 ./xmllint.1 /usr/local/man/man1/xmllint.1
install -c -o root -g wheel -m 444 ./xmlcatalog.1 /usr/local/man/man1/xmlcatalog.1
gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc'
gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc'
gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/doc'
Making install in example
gmake[1]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/example'
gmake[2]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/example'
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/example'
gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/example'
Making install in xstc
gmake[1]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/xstc'
gmake[2]: Entering directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/xstc'
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/xstc'
gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.16/xstc'
===> Compressing manual pages for libxml2-2.6.16
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for libxml2-2.6.16
su-2.05b#



--------------------------------------------*************--------------------------------------
ayrıca Barış Bey'in sözünü ettiği satırlar o dosya içerisinde mevcut.


int pthread_once __P((pthread_once_t *,
void (*) (void)));


xml in sorunu nedir acaba. kurulum sırasında karşılaşılan bu hatalar make.conf dosyasından mı yoksa başka bir nedeni mi var.

tekrar teşekkürler.

Not: ipucu ekliyorum...
----- Original Message ----- From: Omer Faruk Sen To: [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 11:38 PM
Subject: [freebsd] Re: apache başlayamama hatası!..



Kullandiginiz sistem FreeBSD 5 mi?
ek olarak FreeBSD 4 ise ldconfig -m /usr/lib /usr/local/lib /usr/X11R6/lib komutunu calistirdiktan sonra bir daha apache'yi baslatmayi denermisiniz?




Baris Simsek writes:

> stop start ile bu sorun olusmaz. arada baska birseyler yapmissinizdir. ya > lib. leri guncellediniz bir program kurulumuyla apache yada binary'leri. > > sorunun nedenini bilmiyorum ama prgoramci gozuyle genel aciklamasi su. > libxml2, thread kullanıyor, ancak thread lib. inde belirtilen fonksiyon > yok. > > ya thread lib i yok
> ya kurdugunuz program thread lib. inin path ini bulamiyor
> belki de makefile da -pthread unutulmus
> belki de yeni bir thread lib. versiyonu yuklediniz geriye donuk uyumlu > degil > > vs... olasiliklar geliyor aklima. > > kurdugunuz programlarin configure --help ile thread secenegi olup > olmadigini ve bunu disable edip edemeyeceginizi bakabilir misiniz? > > uyduruk cozum: hatayi veren programdan thread i disable edin
> kesin cozum: hatayi veren programin dogru thread lib. ini bulmasini > saglayin. > > biraz varsayimlarla konustum, verilen bilgiler yeterli olmadigi icin. > > tam olarak ne yaptiktan sonra bu sorunla karsilastiginizi anlatabilir > misiniz. > > Mesut GÜLNAZ writes: > >> apache yi ve hpp yi update ettim. >> >> ama şu anda çalışmıyor.
>> nedeni ne olabilir.
>> google yaptım azcık ama pek işe yarar bişi yok. sorun herkeste var ama >> çözüm yok. sadece bunu bulabildim. >> >> hata mesajı:
>> /usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol >> "pthread_once"
>> /usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol >> "pthread_once"
>> /usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol >> "pthread_once"
>> /usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol >> "pthread_once"
>> /usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol >> "pthread_once"
>> /usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol >> "pthread_once" >> >> bulunan link.
>> http://lists.freebsd.org/pipermail/freebsd-ports/2003-April/000917.html
>> http://bugs.php.net/bug.php?id=23495 >> >> teşekkürler. >> >> Not: umarım çözümü vardır!
> > > > Baris Simsek
> http://www.acikkod.org
> http://www.enderunix.org/simsek
> - Turkiye'nin ilk FreeBSD kitabi cikti: http://www.acikkod.com/freebsd.php > > > ---------------------------------------------------------------------
> Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
> http://www.acikkod.com/freebsd.php > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> Liste arsivi: http://lists.enderunix.org ve > http://www.mail-archive.com/freebsd@lists.enderunix.org > >



-----------------------
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
********************************************************



First Turkish FreeBSD book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php




---------------------------------------------------------------------
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php


To unsubscribe, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve http://www.mail-archive.com/freebsd@lists.enderunix.org







-----------------------
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
********************************************************



First Turkish FreeBSD book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php




---------------------------------------------------------------------
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php

To unsubscribe, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve 
http://www.mail-archive.com/freebsd@lists.enderunix.org




Cevap