LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2002, 12:59 PM   #1
grubjo
LQ Newbie
 
Registered: Jul 2002
Posts: 19

Rep: Reputation: 0
Question Compile samba with acl-support


Hi, I use RedHat 7.3 and XFS 1.1. I installed the the packets from the additional RedHat-Cd for XFS. Now I tried to install Samba 2.2.5. The problem is when I start ./configure --prefix=/usr/local/samba-2.2.5 --with-acl-support at the end I get a message, that Samba use no acls because it has a problem with -lacl.

Does anybody know any tips?

Ciao, Johannes
 
Old 07-28-2002, 04:23 PM   #2
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
Try posting the exact error message.

Regards
 
Old 07-28-2002, 04:43 PM   #3
grubjo
LQ Newbie
 
Registered: Jul 2002
Posts: 19

Original Poster
Rep: Reputation: 0
some lines from the config.log, but I don't understand what's the problem :-(

----snip----
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libacl.so: undefined reference to `fgetxattr'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libacl.so: undefined reference to `removexattr'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libacl.so: undefined reference to `setxattr'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libacl.so: undefined reference to `fsetxattr'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libacl.so: undefined reference to `getxattr'
----snip-----

----snip------
configure:13165: gcc -o conftest -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -ldl -lnsl -lcrypt 1>&5
/tmp/ccLRcsCt.o: In function `main':
/tmp/ccLRcsCt.o(.text+0xa): undefined reference to `acl_get_entry'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13157 "configure"
-----snip----------------
 
Old 07-28-2002, 05:53 PM   #4
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
This problem does look somewhat similar to what I once encountered in another program. If libacl.so got installed by samba, then the problem is due to its make-scripts, if not, you can fix it probably easily. \
First, check whether the file libacl.so exists.... and if it does, run ldconfig, go to the samba again and do a make distclean, before you restart.
Good luck
 
Old 07-29-2002, 07:05 AM   #5
grubjo
LQ Newbie
 
Registered: Jul 2002
Posts: 19

Original Poster
Rep: Reputation: 0
Hi, thanks for your tips. I tried it (I found the libacl.so and started ldconfig -v), but I got the same errors. I checked the config.log again and saw that it checks a lot of __ - files and nearly everyone returns "no", also the __acl.

I run ./configure as normal user, should I try it as root? I use samba 2.2.5, should I use an older version?

Bye, Johannes
 
Old 07-29-2002, 09:05 AM   #6
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
One thing I can think of:
In which folder is the libacl.so located?
If it is not in /lib or in /usr/lib or in /usr/local/lib (I mean, directly in this folder. Not in a subdirectory), there might be a missing symbolic link to it. If it is i.e. in /usr/lib/libacl/libacl.so, you would have to create a link to it in /usr/lib in order to find it.
./configure running as normal user is not a problem.
And very important. If you try again, do a make distclean.
 
Old 07-29-2002, 09:08 AM   #7
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Oh, yet another thing: Check the version of libacl against the version that is required. Maybe, yours is too old.
 
Old 07-29-2002, 11:44 AM   #8
grubjo
LQ Newbie
 
Registered: Jul 2002
Posts: 19

Original Poster
Rep: Reputation: 0
Hi, how can I look for the version of libacl and do you know which version I need?
I think the version isn't too old, because I use the one from RedHat 7.3.

Bye, Johannes
 
  


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
coreutils with acl support Zym0tiC Slackware 1 06-05-2005 08:05 AM
Getting ACL support working in SAMBA arobinson74 Slackware 4 05-02-2005 02:18 PM
ACL support in slackware for Samba box arobinson74 Slackware 9 04-27-2005 01:48 PM
ACL support anamikasoni Red Hat 2 03-21-2005 11:11 PM
ReiserFS and ACL support? technician Linux - Software 2 07-28-2004 07:35 PM


All times are GMT -5. The time now is 04:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration