[MacPorts] #17919: samba3: smbc_urlencode symbol not in dylib
#17919: samba3: smbc_urlencode symbol not in dylib -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: symbol linking | Port: samba3 -----------------------------------+---------------------------------------- This was happening with 3.2.6 as well before I bumped it for the CVE. {{{ $ cat test.c #include <libsmbclient.h> int main() { char *c; char *s; int l; return smbc_urlencode(c, s, l); } $ gcc test.c -Wall -I/opt/local/include -L/opt/local/lib/samba3 -lsmbclient Undefined symbols: "_smbc_urlencode", referenced from: _main in ccdxnKVA.o ld: symbol(s) not found collect2: ld returned 1 exit status $ gcc test.c -Wall -I/opt/local/include -E | grep -C3 smbc_urlencode smbc_urldecode(char *dest, char * src, size_t max_dest_len); # 2542 "/opt/local/include/libsmbclient.h" 3 int smbc_urlencode(char * dest, char * src, int max_dest_len); # 2558 "/opt/local/include/libsmbclient.h" 3 const char * smbc_version(void); -- int main() { char *c; char *s; int l; return smbc_urlencode(c, s, l); } }}} I'm looking into it now... -- Ticket URL: <http://trac.macports.org/ticket/17919> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17919: samba3: smbc_urlencode symbol not in dylib ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: symbol linking Port: samba3 | ------------------------------------+--------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: I patched this a few weeks ago, and it's fixed upstream for the next release as well -- Ticket URL: <http://trac.macports.org/ticket/17919#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts