Comments (9)
Were you starting with a libpng tarball or with a Git clone?
from libpng.
Would you capture the output of './libtool --config' and '/usr/bin/libtool --config' and attach them here?
from libpng.
I started with the Git clone.
When running ./libtool --config, it breaks my console. Here is a sample of the output:
S≤└␉⎺┌⎽ ├▒├ └┤⎽├ ▒┌┬▒≤⎽ ␉␊ ␊│⎻⎺⎼├␊␍.
␋┼␌┌┤␍␊_␊│⎻⎽≤└⎽="""
I joined the '/usr/bin/libtool --config' ouput
output.zip
from libpng.
So your ./libtool got truncated somehow. On my Ubuntu 86_64 platform, around line 7968 is
else
shlib_search_path=
fi
eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
7967-> eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
7968->
# Definition is injected by LT_CONFIG during libtool generation.
func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH"
func_dirname "$output" "/" ""
_objdir=$func_dirname_result$objdir
What does "tail -10 ./libtool" show you?
from libpng.
from libpng.
I don't know if Glenn tracked this down, it seems pretty weird because I can't see why he concluded that the generated libtool was truncated.
Anyway, it's necessary to regenerate the autostuff after a git pull. If you switch on maintainer mode this happens automatically, otherwise autogen.sh warns you that you need to do it. If you know about autoreconf (i.e. don't run ./autogen.sh in the first place) you are assumed to know all about it ;-)
Normally this is just a matter of running autoreconf. It is good practice to do this after every pull (or to pass --enable-maintainer-mode to configure in the first place).
In this case I suggest running:
./autogen.sh --maintainer --clean
autoreconf -f -i
./configure --enable-maintainer-mode
(Notice that the latter is not done for releases; releases include a consistent set of autotools including pre-generated libtool and configure and it is a distinctly bad idea to change them.)
from libpng.
Is there any solution for this issue?
I am using Ubuntu 17.10 to compile libpng-1.6.21 and it gives error:
./libtool: eval: line 7966: unexpected EOF while looking for matching `"'
./libtool: eval: line 7967: syntax error: unexpected end of file
Makefile:857: recipe for target 'libpng16.la' failed
make[1]: *** [libpng16.la] Error 2
The line 7966 in libtool is
eval sys_lib_dlsearch_path="$sys_lib_dlsearch_path_spec"
from libpng.
Same as before: i.e. read my message, the one you responded to. It is unambiguous, direct and forthright.
In any case, the current Gentoo development version is 1.6.34 and picking random versions out of the past is Putinesk to say the least.
from libpng.
Close: @ctruta, just delete the derived files. The distributions really don't care (they use their own autoconf) and if the build of the tarball doesn't recreated them there is something wrong with that build (there may be, that's a more important issue.)
from libpng.
Related Issues (20)
- Feature Request - graceful error returns for reading/writing images HOT 5
- bug: png_check_sig API changed in 1.6.41 HOT 13
- How to disable warnings
- libpng: APIs that are currently used HOT 8
- 1.6.42: test sute fails in one unit HOT 39
- LoongArch LSX: Follow up on checking for compiler intrinsics inside ./configure HOT 6
- Possible miscalculation of buffer length in `png_icc_profile_error` HOT 3
- Questions about choosing zlib over other compression algorithms and other issues HOT 6
- Use PNG_ABORT instead of abort in png_safe_error HOT 3
- CMake: How to configure options for pnglibconf generation? HOT 4
- Need to restore STDERR in pngtest.c HOT 3
- 16-bit channels, possible issue? HOT 7
- Minor Syntax Issues in the `/libpng/contrib/gregbook` HOT 1
- Possible integer overflow in pngtests.c HOT 2
- Implicit fallthroughs HOT 8
- libpng version 1.6.43 dll only worked on the debugged version.crashed with the released version. HOT 3
- [Build][CMake][Windows] Issue to build on Windows when cygwin (awk ) is present in the PATH HOT 4
- libpng-1.6.43.tar.gz is corrupt HOT 2
- Sovereign Tech Fund: Fellowship for Maintainers
- Potential Vulnerability in libpng Leading to Hang or Infinite Loop when Processing Malformed PNG Files HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libpng.