The gem fails to install. In fact, it fails to even configure. mkmf.log shows: "cc -o conftest -I. -I/usr/local/lib/ruby/1.8/amd64-freebsd6 -I. -I/usr/local/in clude -O -pipe -fPIC conftest.c -L'.' -L'/usr/local/lib' -Wl,-R'/usr/local/ lib' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L. -rdynamic -lruby18-stati c -lpq -lcrypt -lm -rpath=/usr/lib:/usr/local/lib -pthread -lc" /usr/local/lib/libkrb5.so: undefined reference to `add_error_table' /usr/local/lib/libkrb5.so: undefined reference to `remove_error_table' This is because extconf.rb does not use the correct libraries (as determined by `pg_config --libs`). libpq does have the correct library dependencies so I don't know why this doesn't get resolved automagically. Fix: Unknown. I spent about half an hour trying to trace the flow through the twisty innards of mkmf.rb before giving up. There doesn't seem to be any way of making it check more than one library. How-To-Repeat: Install postgresql81-client with Kerberos support. Try to install rubygem-postgres. Watch it fail.
Responsible Changed From-To: freebsd-ports-bugs->dinoex Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback > This is because extconf.rb does not use the correct libraries (as determined > by `pg_config --libs`). libpq does have the correct library dependencies so > I don't know why this doesn't get resolved automagically. Please give the output of ldd /usr/local/lib/libpq.so.4
<<On Thu, 29 Nov 2007 12:38:12 +0100 (CET), dinoex@FreeBSD.org said: >> This is because extconf.rb does not use the correct libraries (as determined >> by `pg_config --libs`). libpq does have the correct library dependencies so >> I don't know why this doesn't get resolved automagically. > Please give the output of ldd /usr/local/lib/libpq.so.4 /usr/local/lib/libpq.so.4: libssl.so.4 => /usr/lib/libssl.so.4 (0x80096e000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x800aa8000) libkrb5.so => /usr/local/lib/libkrb5.so (0x800cf9000) libcom_err.so => /usr/local/lib/libcom_err.so (0x800e9b000) libcrypt.so.3 => /lib/libcrypt.so.3 (0x800fa1000) libk5crypto.so => /usr/local/lib/libk5crypto.so (0x8010ba000) libkrb5support.so => /usr/local/lib/libkrb5support.so (0x8011e0000) -GAWollman
State Changed From-To: feedback->suspended I could not found a fix. libkrb5.so reportes no dependency itself. $ ldd /usr/local/lib/libkrb5.so This may cause the problem. Further suggestions welcome.
<<On Tue, 19 Feb 2008 08:58:29 +0100 (CET), dinoex@FreeBSD.org said: > Synopsis: databases/rubygem-postgres broken > State-Changed-From-To: feedback->suspended > State-Changed-By: dinoex > State-Changed-When: Tue Feb 19 08:54:50 CET 2008 > State-Changed-Why: > I could not found a fix. > libkrb5.so reportes no dependency itself. > $ ldd /usr/local/lib/libkrb5.so > This may cause the problem. > Further suggestions welcome. Perhaps this should be handed off to the Kerberos maintainers? Cy? -GAWollman
dinoex 2008-04-07 11:51:41 UTC FreeBSD ports repository Added files: databases/ruby-postgres Makefile distinfo pkg-descr pkg-plist Log: - ressurect - new MASTER_SITE - update to 0.7.9.2008.01.28 PR: 118290 Revision Changes Path 1.33 +43 -0 ports/databases/ruby-postgres/Makefile (new) 1.13 +3 -0 ports/databases/ruby-postgres/distinfo (new) 1.11 +7 -0 ports/databases/ruby-postgres/pkg-descr (new) 1.8 +15 -0 ports/databases/ruby-postgres/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: suspended->feedback Is is possible to test databases/ruby-postgres in your setup?
State Changed From-To: feedback->closed no new information on this issue.