I am very new on Solaris, and I have one confusion, please forgive me if it is very silly.
I am building 64 bit so(shared object) file using make command. During compilation I need to use 64 bit library path (/usr/ucblib/sparcv9).
I am using following path in MakeFile LIBB = -L/usr/ucblib/sparcv9 -L/usr/lib/sparcv9 -R/usr/ucblib/sparcv9 -R/usr/lib/sparcv9 CFLAGS = $(INCLUDE_FLAGS) $(LIBB) -D_REENTRANT -fPIC
My question is when i will move this built so file from Solaris version 9 to 10/11 where sparcv9 may not be available, will there any impact on built lib file, or all depended lib from (/usr/ucblib/sparcv9) to migrate in built so lib file.
We are not depends on H/W, we require 64 bit so file. so we need to set those LD_LIBRARY_PATH for completion and Run.
Here are my question if you aware about them:
1) Is user build so file get all depended so, like Java Runnable jar (Jar file includes all dependent jars)?
If it is yes then correct me if I am wrong- We no need to worry about this dependent path for SPARCV9 or whatever, we already have our dependent in our built so.......