[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[UDUNITS #ALQ-202022]: compiling udunits2 with XML
- Subject: [UDUNITS #ALQ-202022]: compiling udunits2 with XML
- Date: Mon, 22 Nov 2010 08:55:44 -0700
Rick,
> A few more tests confirm that it works just as well to refer just once to the
> udunits2 and expat libraries,
> but this must be before all the netcdf libraries (and after my local
> 'cdcnetcdf' library), as in
>
> cc nc.transfer.ascii.c -L/home/rdanielson/prog/include.netcdf/lib -lcdcnetcdf
> -L/home/rdanielson/soft/udunits/lib -ludunits2 -lexpat
> -L/home/rdanielson/soft/netcdf/lib -lnetcdf -L/usr/lib64 -lcurl
> -L/usr/kerberos/lib -L/usr/kerberos/lib64 -lssl -lcrypto -lgssapi_krb5 -lkrb5
> -lcom_err -lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto
> -lcom_err -lresolv -L/usr/kerberos/lib -L/usr/kerberos/lib64 -lidn -lssl
> -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv
> -ldl -lz -lz -lm
I'm surprised that you can't put the netCDF, UDUNITS, and expat library
references just near the end of the link command.
I'm glad you found a way to build your application, though.
> Cheers again,
> Rick
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: ALQ-202022
Department: Support UDUNITS
Priority: Normal
Status: Closed