gnomevfs2 can not be linked in gnomedesktop
Jeremy Messenger
mezz7 at cox.net
Mon Jan 16 21:41:08 PST 2006
On Sun, 15 Jan 2006 23:39:27 -0600, Dirk Meyer <dirk.meyer at dinoex.sub.org>
wrote:
> hi,
>
> This port uses openssl, but only breaks when openssl is not used from
> the base.
> Please consider this patch to register openssl as dependency when needed.
Committed by marcus with a small tweak. Thanks!
Cheers,
Mezz
> kind regards Dirk
>
> - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
> - [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]
>
> log:
> - fix build for for gnomegesktop with option WITH_OPENSSL_PORT=yes
>
> openssl is picked up as an implicit dependency.
> when gnomegesktop was build on a clean jail, it fails while linking:
>
> /usr/libexec/elf/ld: warning: libssl.so.4, needed by
> /usr/X11R6/lib/libgnomevfs-2.so, not found (try using -rpath or -rp
> ath-link)
> /usr/libexec/elf/ld: warning: libcrypto.so.4, needed by
> /usr/X11R6/lib/libgnomevfs-2.so, not found (try using -rpath or
> -rpath-link)
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_set_fd'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_CTX_free'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_shutdown'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_get_error'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_get_fd'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_read'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_new'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_CTX_new'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to
> `SSL_library_init'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to
> `SSLv23_client_method'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_connect'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_free'
> /usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `SSL_write'
>
>
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/devel/gnomevfs2/Makefile,v
> retrieving revision 1.105
> diff -u -r1.105 Makefile
> --- Makefile 29 Nov 2005 04:06:43 -0000 1.105
> +++ Makefile 16 Jan 2006 05:29:24 -0000
> @@ -24,6 +24,7 @@
> USE_X_PREFIX= yes
> USE_GNOME= gnomeprefix gnomehack intlhack gnomemimedata gconf2 \
> libbonobo ltverhack
> +USE_OPENSSL= yes
> USE_REINPLACE= yes
> USE_AUTOTOOLS= libtool:15
> INSTALLS_SHLIB= yes
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
More information about the freebsd-gnome
mailing list