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
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.
owen - is this ours? please reassign if not
Do you perhaps not have the db1-devel package installed?
the db1-devel (which has that symlink) was not installed.
Added dependency on db1-devel to gnome-libs-devel, which should prevent this problem from coming up. (gnome-libs-1.2.4-4)
*** Bug 15396 has been marked as a duplicate of this bug. ***