Unix/Linux Go Back    


Slackware The Official Release of Slackware Linux by Patrick Volkerding is an advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities.

Error compile NFS

Slackware


Tags
compile, ldflags

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 06-01-2013   -   Original Discussion by Linusolaradm1
Linusolaradm1 Linusolaradm1 is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 26 March 2017, 2:24 PM EDT
Posts: 185
Thanks: 20
Thanked 3 Times in 3 Posts
Error compile NFS

Tryng to compile nfs-utils to latest packages but..


Code:
make[2]: Entering directory `/tmp/nfs-utils-1.2.8/utils/gssd'
/bin/sh ../../libtool --tag=CC   --mode=link gcc -Wall -Wextra -Wstrict-prototypes  -pipe -O2 -fPIC  -I/usr/kerberos/include -I/usr/kerberos/include -O2 -fPIC  -ltirpc  -o gssd gssd-context.o gssd-context_mit.o gssd-context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o ../../support/nfs/libnfs.a  -L/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -lkrb5 -lk5crypto -lcom_err -L/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
libtool: link: gcc -Wall -Wextra -Wstrict-prototypes -pipe -O2 -fPIC -I/usr/kerberos/include -I/usr/kerberos/include -O2 -fPIC -o gssd gssd-context.o gssd-context_mit.o gssd-context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib  /usr/lib64/libtirpc.so /usr/lib64/libgssglue.so -lnsl -lpthread /usr/lib64/libgssapi.so /usr/lib64/libheimntlm.so ../../support/nfs/libnfs.a -L/usr/kerberos/lib -lgssapi_krb5 /usr/lib64/libkrb5.so /usr/lib64/libheimbase.so /usr/lib64/libhx509.so /usr/lib64/libwind.so /usr/lib64/libheimsqlite.so /usr/lib64/libhcrypto.so /usr/lib64/libasn1.so /usr/lib64/libroken.so -lcrypt -ldl -lresolv -lk5crypto -lcom_err -pthread
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libcom_err.so.2, needed by /usr/lib64/libtirpc.so, may conflict with libcom_err.so.3
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libkrb5.so.3, needed by /usr/kerberos/lib/libgssapi_krb5.so, may conflict with libkrb5.so.26
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: gssd-krb5_util.o: undefined reference to symbol 'krb5_free_keytab_entry_contents@@krb5_3_MIT'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: note: 'krb5_free_keytab_entry_contents@@krb5_3_MIT' is defined in DSO /usr/kerberos/lib/libkrb5.so.3 so try adding it to the linker command line

How to add to command line?
I have tried LDFLAGS="-libkrb5" but doesn't work
Sponsored Links
    #2  
Old Unix and Linux 06-05-2013   -   Original Discussion by Linusolaradm1
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
It does not like your libraries, wrong version? It sounds like you need newer NFS. since it is referencing older lib versions.
Sponsored Links
    #3  
Old Unix and Linux 06-05-2013   -   Original Discussion by Linusolaradm1
Linusolaradm1 Linusolaradm1 is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 26 March 2017, 2:24 PM EDT
Posts: 185
Thanks: 20
Thanked 3 Times in 3 Posts
Kerberos and nfs are latest
    #4  
Old Unix and Linux 06-10-2013   -   Original Discussion by Linusolaradm1
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
It reads like /somewhere/lib/xxxxx.so.3 is symlinked to /somewhere/lib/xxxxx.so but the code expects xxxxx.so.5, so you may need to remove some sym links and add sym links to the highest numbers.

I am assuming Kerberos and NFS were at these latest when their builds were last created. You might need to back the newer one down, presumably Kerberos since NFS is the user-app of Kerberos, not vice-versa.
The Following User Says Thank You to DGPickett For This Useful Post:
Linusolaradm1 (06-11-2013)
Sponsored Links
    #5  
Old Unix and Linux 06-11-2013   -   Original Discussion by Linusolaradm1
Linusolaradm1 Linusolaradm1 is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 26 March 2017, 2:24 PM EDT
Posts: 185
Thanks: 20
Thanked 3 Times in 3 Posts
Yes,it is.
Thanks
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Kernel compile error mdop Ubuntu 2 08-24-2011 07:32 AM
NFS write error on host : Stale NFS file handle AirWalker83 Solaris 2 03-27-2008 04:42 AM
C compile error kuampang Programming 3 11-30-2006 12:30 AM
compile error message putput Programming 4 10-04-2006 05:43 AM
Compile error coulio Programming 9 06-30-2006 06:43 AM



All times are GMT -4. The time now is 03:21 AM.