Re: Problems with the roadrunner-0.9 install

Andrea Campi <[email protected]> Thu, 16 Jan 2003 16:10:30 +0100
Newsgroups gmane.network.beep.roadrunner.general
Organization I.NET S.p.A.
Message-ID <[email protected]>
On Thu, Jan 16, 2003 at 09:59:42AM -0500, Jaime Vargas wrote:
> Hello all:
> 
> I had tried to compile roadrunner-0.9 on an OpenBSD 3.2 box without 
> complete success. Basically make stops when building the reference docs 
> as show below:

[...]

> 
> make: don't know how to make all-local. Stop in 
> /home/jvargas/roadrunner-tree/ro
> adrunner-0.9/doc/reference.

[...]
> 
> Because I figure the only part that was failing was the documentation, 
> I went ahead with make install. I have the same problem installing the 
> rrsyslog profile.

Yes, you're right, I've had the same problems. Since it's very easy
to work around them I didn't bother to tell Jonas, but I'd guess it
would be nice to have an option to auto* to disable documentation.

> 
> 
> After this I tried to run the tests in rrsyslog and I getting the 
> following error:
> 
> # pwd
> /home/jvargas/roadrunner-tree/rrsyslog-0.9/tests
> # ./rrsyslog-server
> /usr/libexec/ld.so: Undefined symbol "_pthread_cond_wait" in 
> rrsyslog-server:/us
> r/local/lib/libgthread-2.0.so.0.4
> 
> Obviously there is something wrong.  I would appreciate any help 
> installing roadrunner.

This one I can help you with. In fact it's not entrirely roadrunner's
fault. I guess on Linux and some other platforms, shared library
dependencies work differentrly; however, on *BSD, AIX and other,
it doesn't.

The bottom line is: any binary linked with libgthread must link
libpthread as well. Edit your ${PREFIX}/lib/pkgconfig/gthread-2.0.pc
and make sure Libs has:

Libs: -L${libdir} -lgthread-2.0 -lpthread


Bye,
	Andrea

-- 
Andrea Campi                              mailto:[email protected]
I.NET S.p.A. - BT Ignite                  http://www.inet.it
Technical Dept. - R&D			  phone: +39 02 32863 ext 1
v. Darwin, 85 - I-20019			  fax: +39 02 32863 ext 7705
Settimo Milanese (MI), Italy