Skip to content

Commit

Permalink
fix(ld_path): setting the LD_LIBRARY_PATH broke some tools
Browse files Browse the repository at this point in the history
jq and httpie
  • Loading branch information
Tieske committed Mar 23, 2023
1 parent 5347afb commit c5d7dd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,9 @@ The result should be a new PR on the Pongo repo.
[#384](https://github.com/Kong/kong-pongo/pull/384).
* Fix: compile rocks using the Kong shipped crypto libraries
[#382](https://github.com/Kong/kong-pongo/pull/382).
* Fix: setting the LD_PATH broke some other tools. If needed now has to be set
on a per-plugin basis.
[#390](https://github.com/Kong/kong-pongo/pull/390).
---
Expand Down
4 changes: 1 addition & 3 deletions pongo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1143,8 +1143,7 @@ function main {
-e KONG_LICENSE_DATA \
-e KONG_TEST_DONT_CLEAN \
-e PONGO_CLIENT_VERSION="$PONGO_VERSION" \
-e LD_LIBRARY_PATH=/kong-plugin:/usr/local/kong/lib \
kong \
kong \rL4Fii6LMaYMLpxZfbimntvpuWbTkgve
"$WINDOWS_SLASH/bin/bash" "-c" "bin/busted --helper=$WINDOWS_SLASH/pongo/busted_helper.lua ${busted_params[*]} ${busted_files[*]}"
;;

Expand Down Expand Up @@ -1213,7 +1212,6 @@ function main {
-e KONG_CUSTOM_PLUGINS="$CUSTOM_PLUGINS" \
-e PS1_KONG_VERSION="$shellprompt" \
-e PS1_REPO_NAME="$repository_name" \
-e LD_LIBRARY_PATH="/kong-plugin:/usr/local/kong/lib" \
$script_mount \
$history_mount \
kong $exec_cmd
Expand Down

0 comments on commit c5d7dd6

Please sign in to comment.