statically link a libtiff tool

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I downloaded the latest version of libtiff, made some modifications, and now want to produce a statically-linked version of one of the components, tiffset. I disabled most of the unneeded libraries and tried using "--disable-shared" to prevent dynamic linking, but the program still fails to run on another computer with a standard issue of libtiff (it loads the installed libraries, whereas it depends on a modified version not available on that system). Is there a simple way to produce a fully statically linked object file, e.g., by passing arguments via LDFLAGS?
compiling static-linking libtiff
add a comment |Â
up vote
1
down vote
favorite
I downloaded the latest version of libtiff, made some modifications, and now want to produce a statically-linked version of one of the components, tiffset. I disabled most of the unneeded libraries and tried using "--disable-shared" to prevent dynamic linking, but the program still fails to run on another computer with a standard issue of libtiff (it loads the installed libraries, whereas it depends on a modified version not available on that system). Is there a simple way to produce a fully statically linked object file, e.g., by passing arguments via LDFLAGS?
compiling static-linking libtiff
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I downloaded the latest version of libtiff, made some modifications, and now want to produce a statically-linked version of one of the components, tiffset. I disabled most of the unneeded libraries and tried using "--disable-shared" to prevent dynamic linking, but the program still fails to run on another computer with a standard issue of libtiff (it loads the installed libraries, whereas it depends on a modified version not available on that system). Is there a simple way to produce a fully statically linked object file, e.g., by passing arguments via LDFLAGS?
compiling static-linking libtiff
I downloaded the latest version of libtiff, made some modifications, and now want to produce a statically-linked version of one of the components, tiffset. I disabled most of the unneeded libraries and tried using "--disable-shared" to prevent dynamic linking, but the program still fails to run on another computer with a standard issue of libtiff (it loads the installed libraries, whereas it depends on a modified version not available on that system). Is there a simple way to produce a fully statically linked object file, e.g., by passing arguments via LDFLAGS?
compiling static-linking libtiff
asked Jul 5 at 11:39
user001
1,40231836
1,40231836
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f453600%2fstatically-link-a-libtiff-tool%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password