question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[package] <libtool>/<2.4.6>: libtool package contains hardcoded strings.

See original GitHub issue

libtool package needs hacky rewrite as well - similar as autoconf does thing

I’ve checked and this time i am 99% sure that issue is not with the steps I am doing. When using a libtoolize across different directory structure when using it in certain scenario you will be met with this error:

libtoolize:   error: $pkgauxdir is not a directory: 

Problem: libtoolize has hardcoded string from build time. this can be seen by checking the package on conan-center, snippet:

prefix=/tmp/c3ipr/pr_659_8_0_0/.conan/data/libtool/2.4.6/_/_/package/7c3162c969f9b7ff318890e3afa2eec7ee343945  
datadir="/tmp/c3ipr/pr_659_8_0_0/.conan/data/libtool/2.4.6/_/_/package/7c3162c969f9b7ff318890e3afa2eec7ee343945/bin/share" 
pkgauxdir="/tmp/c3ipr/pr_659_8_0_0/.conan/data/libtool/2.4.6/_/_/package/7c3162c969f9b7ff318890e3afa2eec7ee343945/bin/share/libtool/build-aux"
...

in file: libtoolize line ~4290

from package: bintray-link

Proposed solutoin: This is bash script so probably can just use environmentals set by package_info().

Thoughts @madebr - sorry to be tagging you like this - but you are an expert onthis! 😃? If you agree to my proposal I can probably make changes.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
fularacommented, Apr 29, 2020

this issue was closed by already merged (14… ) and my further comments are in #807 closing.

1reaction
fularacommented, Apr 29, 2020

@madebr cool. I understand. I saw your changes around unix_path, look good to me. I have no further problem with the recipe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Libtool - GNU.org
This file documents GNU Libtool, a script that allows package developers to provide generic shared library support. This edition documents version ...
Read more >
Ubuntu – Details of package libtool in focal
Generic library support script.
Read more >
configure - Apple Open Source
Look in the path if we contain no directory separator. as_myself= case $0 in ... _$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: ......
Read more >
Diff - platform/external/libedit - Google Git
+ http://www.gnu.org/software/libtool/manual.html#SEC32 + + * doc/Makefile.am: ... `cd' to the directory containing the package's source code and type + `.
Read more >
Debian -- Details of package libtool in stretch
Package : libtool (2.4.6-2) ... This is GNU libtool, a generic library support script. Libtool hides the complexity of ... Other Packages Related...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found