Bug 15394 - Library problem
Summary: Library problem
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnome-core
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Owen Taylor
QA Contact:
URL:
Whiteboard:
: 15396 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-04 14:42 UTC by mal
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-08-04 17:18:37 UTC
Embargoed:


Attachments (Terms of Use)

Description mal 2000-08-04 14:42:12 UTC
When trying to recompile openssh on RedHat 7.0. beta I get:
+ gcc -O -g -I/usr/include -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include
gnome-ssh-askpass.c -o gnome-ssh-askpass -rdynamic -L/usr/lib -L%prefix/lib
-L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk
-lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm
-ldb1 -lglib -ldl
/usr/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status

The problem is with db1 library which is from
[root@localhost /]# gnome-config --libs gnome gnomeui
-rdynamic -L/usr/lib -L%prefix/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl
-lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome
-lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl

[root@localhost /]# locate libdb1
/usr/lib/libdb1.so.2

[root@localhost /]# rpm -qf /usr/lib/libdb1.so.2 
db1-1.85-1.3

Comment 1 mal 2000-08-04 15:01:52 UTC
It looks like this is a problem with 
db1-1.85-1.3
which does not create a symlink
ln -s /usr/lib/libdb1.so.2 /usr/lib/libdb1.so
So libdb1.so is not found.
After putting this link manually everything is OK.

Comment 2 David Mason 2000-08-04 15:06:58 UTC
owen - is this ours? please reassign if not

Comment 3 Owen Taylor 2000-08-04 16:53:01 UTC
Do you perhaps not have the db1-devel package installed?

Comment 4 mal 2000-08-04 17:18:35 UTC
the db1-devel (which has that symlink)
was not installed.

Comment 5 Owen Taylor 2000-08-05 02:39:06 UTC
Added dependency on db1-devel to gnome-libs-devel, which should
prevent this problem from coming up. (gnome-libs-1.2.4-4)

Comment 6 Jeremy Katz 2000-08-05 19:48:29 UTC
*** Bug 15396 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.