Bug #133

/opt/vc/lib is not included in default ld search path

Added by Hammel over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:21 Nov 2012
Priority:ImmediateDue date:
Assignee:Hammel% Done:


Category:04 - Root File System
Target version:0.4.0


You can get to it by exporting LD_LIBRARY_PATH, but this directory needs to be added as part of the default search path.

The way to do it should be by adding paths to ld.so.conf, but that didn't seem to work (unless I did it wrong). Fedora 16 uses /etc/ld.so.conf.d/*.conf files which each have paths to include in the search, and ld.so.conf has an include for the .d/.conf files.


#1 Updated by Hammel over 6 years ago

  • % Done changed from 0 to 50

Added src/buildroot/skeleton/etc/ld.so.conf an ld.so.conf.d/vc.conf to support looking in /opt/vc/lib. I've not tested how these will work yet, however.

#2 Updated by Hammel over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Tested with ldconfig added to build and run on first boot. The userland libraries are now cached properly for ld.so.

Also available in: Atom PDF