libsmbclient-dev missing smbc_urlencode in .a in intrepid

Bug #315774 reported by Tobias Arrskog on 2009-01-10
Affects Status Importance Assigned to Milestone
Fix Released
samba (Ubuntu)

Bug Description

Binary package hint: libsmbclient-dev

when installed on Hardy
topfs@tobias:~$ cat /usr/include/libsmbclient.h | grep smbc_urlencode
smbc_urlencode(char * dest, char * src, int max_dest_len);
topfs@tobias:~$ nm /usr/lib/libsmbclient.a | grep smbc_urlencode
000000a0 T smbc_urlencode

When installed on Intrepid
topfs@topfs-laptop:~$ cat /usr/include/libsmbclient.h | grep smbc_urlencode
smbc_urlencode(char * dest, char * src, int max_dest_len);
topfs@topfs-laptop:~$ nm /usr/lib/libsmbclient.a | grep smbc_urlencode
nm: dbwrap_ctdb.o: no symbols

This leads me to believe its not available, seems to affect both x86 and x64 versions.

1) topfs@topfs-laptop:~$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

2)topfs@topfs-laptop:~$ apt-cache policy libsmbclient-dev
  Installed: 2:3.2.3-1ubuntu3.4
  Candidate: 2:3.2.3-1ubuntu3.4
  Version table:
 *** 2:3.2.3-1ubuntu3.4 0
        500 intrepid-updates/main Packages
        500 intrepid-security/main Packages
        100 /var/lib/dpkg/status
     2:3.2.3-1ubuntu3 0
        500 intrepid/main Packages

topfs-laptop is intrepid
tobias is hardy

Tobias Arrskog (topfs2) on 2009-01-10
description: updated
Changed in samba:
assignee: nobody → wattazoum
Oumar Aziz OUATTARA (wattazoum) wrote :

I tested and indeed, the smbc_urlencode symbol defined in the header is not found in the libsmbclient.a file on intrepid but is found in hardy (3.0.28a-1ubuntu4).
I am trying to figure out is this is due to the sources or to a wrong build.

Changed in samba:
status: New → Confirmed
Oumar Aziz OUATTARA (wattazoum) wrote :

Quoting the developer commit:

[Bug 6022] smbc_urlencode and smbc_urldecode were not exported
- Since the revamp of libsmbclient, there has still been an external
  declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet
  those functions were renamed and made private. The two choices were to
  remove the function names from libsmbclient.h or to make them public
  again. The reported requested that they be public. This commit makes it so.

Oumar Aziz OUATTARA (wattazoum) wrote :
Changed in samba:
status: Confirmed → In Progress
Oumar Aziz OUATTARA (wattazoum) wrote :

Debdiff attached.

Oumar Aziz OUATTARA (wattazoum) wrote :
Changed in samba:
assignee: wattazoum → nobody
status: In Progress → Fix Committed
Changed in samba:
status: Unknown → Fix Released
Bryce Harrington (bryce) on 2009-01-27
Changed in samba:
status: Fix Committed → In Progress
Chuck Short (zulcss) wrote :

This should be fixed for jaunty now.

Changed in samba:
status: In Progress → Fix Released
Tobias Arrskog (topfs2) wrote :

Nice to hear, just wondering if this will be fixed for intrepid?

Basically team-xbmc would ideally want to use libsmbclient-dev so we could link to the systemlib instead because we have issues regarding x64 with our precompiled version and can´t switch due to this bug.

If it won´t be backported for intrepid we´ll just have to try to another way (would love not to though ;) )

Changed in samba:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.