LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2004, 03:09 AM   #1
gk_
LQ Newbie
 
Registered: Jul 2004
Location: /home/gk
Distribution: Debian 3.1 Slackware 10.1
Posts: 29

Rep: Reputation: 15
samba dependencies


I've installed SAMBA 3.0.4 w/ my slackware 10. I'm wanting to keep it as small as possible so i installed only what i needed. Everything worked fine untill I tried to run smbmount and got this error:
Quote:
smbmount: relocation error: /usr/lib/samba/charset/CP850.so: undefined symbol: smb_register_charset
I know its a dependencie problem because on a machine where i ddi a full install this error isn't present.

Dose anyone know what packages i need for samba-3.0.4-i486.tgz to work correctly?
 
Old 07-25-2004, 03:52 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
did u remove samba that cames with slackware before installing it by hand?
 
Old 07-25-2004, 04:48 PM   #3
gk_
LQ Newbie
 
Registered: Jul 2004
Location: /home/gk
Distribution: Debian 3.1 Slackware 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
That is the same package that comes with 10
 
Old 07-25-2004, 05:00 PM   #4
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
samba is not used (directly) for mounting smbfs. rather than calling smbmount directly use:

Code:
mount -t smbfs //<server name>/<share name> <path to mount point> [-o username=<user name>[%<password>]]
 
Old 07-25-2004, 05:35 PM   #5
gk_
LQ Newbie
 
Registered: Jul 2004
Location: /home/gk
Distribution: Debian 3.1 Slackware 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
Thats on thing I tried once the error occured and it came up with the same error msg. Apparently mount uses smbmount to do this.
 
Old 07-25-2004, 06:46 PM   #6
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
OK then, I am going to ask the obvious: do you have /usr/lib/samba/charset/CP850.so on your box?
 
Old 07-25-2004, 07:58 PM   #7
gk_
LQ Newbie
 
Registered: Jul 2004
Location: /home/gk
Distribution: Debian 3.1 Slackware 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
Lol, yes. Yes it is.
 
Old 07-25-2004, 08:20 PM   #8
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
Just checking.

Here is the output of "ldd smbmount" on my computer, can you see if yours matches and that you have the dependencies?

libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002c000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40059000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4006b000)
libdl.so.2 => /lib/libdl.so.2 (0x40080000)
libc.so.6 => /lib/libc.so.6 (0x40084000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
 
Old 07-25-2004, 10:39 PM   #9
gk_
LQ Newbie
 
Registered: Jul 2004
Location: /home/gk
Distribution: Debian 3.1 Slackware 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
I'm not currently at my computer, but that is probaly exactly what i need.
 
Old 07-26-2004, 02:06 AM   #10
gk_
LQ Newbie
 
Registered: Jul 2004
Location: /home/gk
Distribution: Debian 3.1 Slackware 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
Hmm, When I did the 'ldd /usr/bin/smbmount' It gave me the same results as yours. does it matter if the 0x* thingy is different?

Anyway I figure it out i forgte how though. I stoped getting the error after installing glibc.

Thansk a bunch.

Last edited by gk_; 07-26-2004 at 02:44 AM.
 
Old 07-26-2004, 02:53 AM   #11
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Out of curiosity, how small did you get the Samba install?

I have been working down a Samba installation for my embedded distro, and I was wondering how far you got it.

Mine is down to 3 MB.
 
Old 07-26-2004, 05:52 AM   #12
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
Quote:
Originally posted by gk_
Hmm, When I did the 'ldd /usr/bin/smbmount' It gave me the same results as yours. does it matter if the 0x* thingy is different?

Anyway I figure it out i forgte how though. I stoped getting the error after installing glibc.

Thansk a bunch.
I don't think the numbers make a difference, I don't even know what they mean off the top of my head. Installing glibc would install a couple of the dependencies. libc and ld-linux in particular. Did you have the glibc-solibs package installed before hand?
 
Old 07-26-2004, 04:51 PM   #13
gk_
LQ Newbie
 
Registered: Jul 2004
Location: /home/gk
Distribution: Debian 3.1 Slackware 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
Yes, glibc-solibs was installed when I was having this problem.

How small was it? I'm not that much a of a linux guru, I've gotten it down to 150mb, with some extras. You have a 3mb install?

Last edited by gk_; 07-26-2004 at 04:53 PM.
 
Old 07-26-2004, 09:57 PM   #14
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I meant the Samba install by itself, not the entire system.
 
Old 07-26-2004, 11:04 PM   #15
gk_
LQ Newbie
 
Registered: Jul 2004
Location: /home/gk
Distribution: Debian 3.1 Slackware 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
Well i'm not compiling it so i just have the Slackware package wich is 15meg compresed so what it is uncompressed is what i got i guess.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 08:58 PM
samba dependencies LoRd Of XAoS Linux - Software 1 08-10-2003 03:14 PM
Failed dependencies installing samba haysdb Linux - Newbie 5 05-16-2003 03:24 PM
samba 2.2.5-1 dependencies bkmesenbrink Linux - Newbie 2 01-01-2003 12:46 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration