RE: RPM build error: File not found: /usr/local/apr-util-httpd/lib/libexpat.a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would be interested if you can make that work.
I assume you want to build a relocatable package.

Try specifying the LD_LIBRARY_PATH before executing httpd to include the
target directories where the APR and APR-util libraries get installed.
I tried something similar, but it did not work. For some reason my httpd
executable gets a run path (embedded in the executable) with the
/usr/lib64 in the middle of the APR and APR-util paths. If you are
building in a 32-bit environment you may not have that problem.



-----Original Message-----
From: Vijaykumar Borkar [mailto:vjkumar.borkar@xxxxxxxxx] 
Sent: Friday, October 03, 2008 1:45 AM
To: users@xxxxxxxxxxxxxxxx
Subject:  RPM build error: File not found:
/usr/local/apr-util-httpd/lib/libexpat.a

Hi All,
I am trying to build a rpm from Apache 2.2.9 source and encountering the
error:

error: File not found:
/home/vjkumar/apachews/apache_new/dist/BUILD/apache-root/usr/local/apr-u
til-httpd/lib/libexpat.a


RPM build errors:
    File not found:
/home/vjkumar/apachews/apache_new/dist/BUILD/apache-root/usr/local/apr-u
til-httpd/lib/libexpat.a
make: *** [rpm] Error 1

The make for httpd-2.2.9/srclib/apr, httpd-2.2.9/srclib/apr-util
and httpd-2.2.9/ are successful.

My rpmbuild command in Makefile is
rpmbuild --define "_topdir ${RPM_TOP_DIR}" \
		--bb ${PACKAGE_NAME}.spec

Thanking you in advance

~VJ

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux