Re: rpm on solaris 10

Tim Mooney <[email protected]> Thu, 17 Jan 2008 13:06:30 -0600 (CST)
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
In regard to: rpm on solaris 10, [email protected] said (at 12:04pm on Jan...:

> im fighting my way through getting rpm setup on a solaris 10 sparc box.
> I have hit a wall i cant seem to be able to get over.
> here is where im stuck, just seeing if anyone had some in sight on this.
> Thanks

You should try rpm 4.4.9 or rpm 5.0.0.  Either of those will be much
easier to compile on Solaris than 4.4.7 was.  I used 4.4.7 for quite
a while on Solaris 10, but it wasn't trivial to build, and most of
the fixes I needed ended up making it into 4.4.9.

You also should make sure you're using a relatively recent version of
Berkeley DB.

> Undefined                       first referenced
> symbol                             in file
> db_env_set_func_fsync               ./.libs/librpmdb.so
> db_create                           ./.libs/librpmdb.so
> db_strerror                         ./.libs/librpmdb.so
> db_env_create                       ./.libs/librpmdb.so
> ld: fatal: Symbol referencing errors. No output written to
> .libs/rpmdb_archive
> collect2: ld returned 1 exit status
> make[3]: *** [rpmdb_archive] Error 1
> make[3]: Leaving directory `/tmp/rpm-4.4.7/rpmdb'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/tmp/rpm-4.4.7/rpmdb'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/rpm-4.4.7'
> make: *** [all] Error 2


Tim
-- 
Tim Mooney                              [email protected]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164