Skip to content

Commit 450ed3b

Browse files
author
kram
committed
force order of library path to look for platform dir before lib dir
1 parent 05048cf commit 450ed3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syncd/scripts/syncd_init_common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ config_syncd_marvell()
104104
config_syncd_barefoot()
105105
{
106106
export ONIE_PLATFORM=`grep platform /etc/machine.conf | awk 'BEGIN { FS = "=" } ; { print $2 }'`
107-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/bfn/install/lib:/opt/bfn/install/lib/tofinopd/switch:/opt/bfn/install/lib/platform/$ONIE_PLATFORM
107+
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/bfn/install/lib/platform/$ONIE_PLATFORM:/opt/bfn/install/lib:/opt/bfn/install/lib/tofinopd/switch
108108
. /opt/bfn/install/bin/dma_setup.sh
109109
export LD_PRELOAD=libswitchapi.so:libswitchsai.so:libpd.so:libpdcli.so:libdriver.so:libbfsys.so
110110
}

0 commit comments

Comments
 (0)