| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
Date: Thu, 5 Jul 2007 17:44:25 -0500 (CDT) From: Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu> To: "Booker C. Bense" <bbense@stanford.edu> In-Reply-To: <F28BE57B-4A38-4165-AF26-B92C6114C5EA@stanford.edu> Message-ID: <Pine.SOC.4.64.0707051741340.9650@dogbert.cc.ndsu.NoDak.edu> MIME-Version: 1.0 Cc: kerberos@mit.edu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kerberos-bounces@mit.edu In regard to: Compiling 1.5.3 or 1.6.1 on Solaris 5.9, Booker C. Bense said...: > I've been pulling my hair out over this for a couple hours and I > can't see forest for trees at this > point. Both version fail to compile libkrb5support.so.0.1 with this > error > > + gcc -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align - > Wconversion -Wshadow -pedantic > -shared -h libkrb5support.so.0 -o libkrb5support.so.0.1 threads.so > init-addrinfo.so plugins.so > errors.so gmt_mktime.so fake-addrinfo.so -R/afs/slac.stanford.edu/ > package/krb5/1.5.3/sun4x_59/lib > -lresolv -lsocket -lnsl -ldl > ld: fatal: file libkrb5support.so.0: open failed: No such file or > directory > collect2: ld returned 1 exit status > > I am using gcc 3.2.3 and the only odd thing I can see is the > > -shared -h libkrb5support.so.0 > > option. Documentation on what -h actually does seems sparse... It > certainly doesn't do > what is listed in the man page. -h should be getting passed to ld, and it should be setting the SONAME. adding -v to gcc's line would probably show how it's invoking ld to create the shared object, but what happens if you modify the build line so that instead of -h libkrb5support.so.0 it tries -Wl,-h,libkrb5support.so.0 or uses gcc's -Xlinker equivalent. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164 ________________________________________________ Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |