BookmarkSubscribeRSS Feed
Sajid01
Meteorite | Level 14

Hello @harmonic
As an after thought to what I said earlier try running this in the container before executing the Gross_test_01

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/full_path_of_libgross.so
harmonic
Quartz | Level 8
Yes I am trying to install c++ in the container also compile the code in static mode.
Should I put the local path like this?
C:/C/bld/libgross.so
Sajid01
Meteorite | Level 14

Hello @harmonic 

As I said earlier run this statement before running your code.
I have made a correction only folder path needs to be included not the filename.

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/full_path_of_folder_containing_libgross.so

Please run this immediately before running Gross_test_01. It should work. Then you would not need C++ in the container at all.
If your libraries are statically bound into Gross_test_01 and the OS in the host and docker is the same, I don't expect that C++ is needed in the container.
The basic principle is that C++ compiles a program to machine language. If all libraries are statically bound, then nothing should be needed as long as OS is the same.
The size of the executable would however  be large.
However if the libraries are dynamically linked then libraries are needed.

harmonic
Quartz | Level 8

I think this is not a Sas problem anymore, I don't know maybe is the virtual container the problem.

fabiopuddu_0-1701269771732.png

 

Sajid01
Meteorite | Level 14
Hello
I agree it is neither a SAS nor a container problem.
It is the case of missing libraries.
My earlier replies list possible solutions.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 19 replies
  • 4413 views
  • 0 likes
  • 3 in conversation