SolaceSamples / solace-samples-c

Getting Started Samples for the Solace C API.
http://dev.solace.com/get-started/c-tutorials/
Apache License 2.0
22 stars 21 forks source link

[Bug]: source ./setenv.sh does not work properly #39

Closed ngdavid1013 closed 3 months ago

ngdavid1013 commented 9 months ago

Bug Description

On linux, when you source ./setenv.sh, inside the script, the $0 evaluates to /bin/bash Everything falls apart from that point. /usr/bin got added to LD_LIBRARY_PATH.

Expected Behavior

The current bin directory is to be added to LD_LIBRARY_PATH.

Steps to Reproduce

Just run it on linux.

Solace Product

Other

Solace Broker version

No response

Solace API

No response

Solace API version

No response

Mrc0113 commented 9 months ago

Thank you @ngdavid1013!

gvensan commented 3 months ago

Fixed in commit PR #40 (commit 3c746d4)