diff --git a/0x18-dynamic_libraries/1-create_dynamic_lib.sh b/0x18-dynamic_libraries/1-create_dynamic_lib.sh old mode 100755 new mode 100644 index e7cc05b..7d110ea --- a/0x18-dynamic_libraries/1-create_dynamic_lib.sh +++ b/0x18-dynamic_libraries/1-create_dynamic_lib.sh @@ -1,3 +1,4 @@ #!/bin/bash gcc -c -fPIC *.c gcc -shared -o liball.so *.o +export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH