pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30523: lftp under macosx 10.4 do not work



>Number:         30523
>Category:       pkg
>Synopsis:       lftp under macosx 10.4 do not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 14 13:53:00 +0000 2005
>Originator:     Antoine Reilles
>Release:        
>Organization:
loria
>Environment:
Darwin bonzai.local 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 
2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc
>Description:
lftp 3.2.1 installs fine with pkgsrc, but when running lftp, i get:

$ lftp                                                                        ~
lftp :~> open localhost
dlopen(/usr/pkg/lib/lftp/3.2.1/proto-ftp.so, 10): Symbol not found: 
__ZN6SMTask6ResumeEv
  Referenced from: /usr/pkg/lib/lftp/3.2.1/liblftp-network.dylib
  Expected in: flat namespace

open: ftp - not supported protocol
lftp :~> open sftp://localhost
dlopen(/usr/pkg/lib/lftp/3.2.1/proto-sftp.so, 10): Symbol not found: 
__ZN6SMTask6ResumeEv
  Referenced from: /usr/pkg/lib/lftp/3.2.1/liblftp-network.dylib
  Expected in: flat namespace

open: sftp - not supported protocol

There are two problems, probably related: 
in /usr/pkg/lib/lftp/3.2.1/ i have liblftp-network.dylib and liblftp-pty.dylib, 
and some .so files (as listed in PLIST)
those .dylib files cause problem when unintalling lftp too, since pkg_delete 
expects them to be ".so".
I tried to understand why libtool produces .dylib and .so files, but they seem 
to be installed exactly with the same libtool call, so i'm a bit lost

>How-To-Repeat:
Install lftp under tiger (the problem arise probably with other darwin 
versions).
Try to run it: it fails
try to deinstall it:
$ bmake deinstall                                          /usr/pkgsrc/net/lftp
===> Deinstalling for lftp
===> Becoming root%bonzai.local@localhost to deinstall lftp.
/usr/bin/sudo Password:
Running /usr/pkg/sbin/pkg_delete -K /usr/pkg/pkgdb lftp-3.2.1
pkg_delete: unable to completely remove directory '/usr/pkg/lib/lftp/3.2.1'
pkg_delete: unable to completely remove directory '/usr/pkg/lib/lftp'
pkg_delete: couldn't entirely delete package `lftp-3.2.1'
(perhaps the packing list is incorrectly specified?)

(i used the standard options, so built with gnutls and not ssl)
>Fix:




Home | Main Index | Thread Index | Old Index