[csw-users] Package Building Questions

Chris Ridd chris.ridd at isode.com
Fri Mar 10 20:10:00 CET 2006


On 10/3/06 6:53, Lundgren, Scott <SELundgr at email.uncc.edu> wrote:

> If there is a more appropriate place for this question please redirect
> me. I'm trying to build my own package of pure-ftpd to understand the
> process & perhaps volunteer to maintain it.
> I've been following http://www.blastwave.org/standards/build.html
>     is it CFLAGS="-xarch=v8" that I need to set so that my Sun Studio 11
> on Solaris 9 builds Solaris 8 binaries?

No, that just indicates the version of SPARC (ie instruction set version)
that your binary will work on.

Also, you will need to build on the earliest version of Solaris that you
want your binaries to work on. You can usually build on Solaris n and deploy
on Solaris >= n. Typically you can't build on Solaris n, and deploy on
Solaris < n.

>     how do I list the dynamic linked libraries my binary may be
> dependent on?

/usr/bin/ldd.

>     how do I find what package those libraries are in ? (the Solaris
> equivalent of rpm -qf /opt/csw/mysql4/lib/mysql/libmysqlclient.so ?)

pkgchk -lp /opt/csw/mysql4/lib/mysql/libmysqlclient.so

Cheers,

Chris





More information about the users mailing list