pkgsrc-Users archive

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

How to adjust runtime search paths



I am trying to work around the raspberrypi-userland PLIST clash with
MesaLib, by changing the installation home to ${PREFIX}/raspi

Excerpt of the patch is:

    -SUBST_SED.vc=          -e 's,/opt/vc,${PREFIX},g'
    +SUBST_SED.vc=          -e 's,/opt/vc,${PREFIX}/raspi,g'
    +CMAKE_ARGS+=           -DCMAKE_EXE_LINKER_FLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib/raspi
    +CMAKE_ARGS+=           -DCMAKE_MODULE_LINKER_FLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib/raspi
    +CMAKE_ARGS+=           -DCMAKE_SHARED_LINKER_FLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib/raspi

I am not sure which all CMAKE variables are required to be overridden, but
I have taken all those that show -R argument in CMakeCache.txt.

Now the following check returns several errors as shown:

    => Checking for missing run-time search paths in raspberrypi-userland-20170109nb3

    ERROR: raspi/bin/containers_check_frame_int: missing library: libcontainers.so
    ERROR: raspi/bin/containers_check_frame_int: missing library: libvcos.so
    ERROR: raspi/bin/containers_datagram_receiver: missing library: libcontainers.so
    ...

What exactly is needed to pass this check?

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index