New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when updating to the newest version #26
Comments
I changed some dependencies. You need a C++17 compiler and GraphicsMagick++ installed on your system. |
After hours of trying, I finally managed to fix everything, thanks a lot. then I receive following error message and the build fails: Anyways, thanks a lot for the help. |
Are you cross-compiling? |
Yes, I am. |
Well that is very odd, considering it's on the Go side. Try checking for integrity with |
I already did. Everything works fine when I do not use the |
Odd.
…On 27 June 2018 at 21:56, 0xSeven ***@***.***> wrote:
I already did. Everything works fine when I do not use the GOOS=linux
option :(
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHfPsDjG8Rx3cnhavvoCUPYyIqfEL7uOks5uA9VrgaJpZM4U5oYb>
.
|
Hello bakape. I switched to a linux envrionment now and when I try to run/build my app, I get following error message:
I don't know what to do anymore, I tried everything I can to get this thing running. |
What distro+version is the running in the EC2 instance?
…On 29 June 2018 at 17:22, 0xSeven ***@***.***> wrote:
Hello bakape. I switched to a linux envrionment now and when I try to
run/build my app, I get following error message:
# github.com/0xSeven/thumbnailer
/usr/bin/ld <http://github.com/0xSeven/thumbnailer/usr/bin/ld>: /usr/local/lib/libGraphicsMagick.a(magick_libGraphicsMagick_la-shear.o): undefined reference to symbol 'trunc@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
I don't know what to do anymore, I tried everything I can to get this
thing running.
Please bakape, I beg you for help or hints. I'm just a go noob who tries
to launch his first go app on an amazon ec2. Please.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHfPsC1yW0Xru35gV7av34x5ZIC-UL9Pks5uBjg2gaJpZM4U5oYb>
.
|
Thanks for your quick response. I'm running Ubuntu 16.04.4 LTS. |
github.com/0xSeven/thumbnailer
<http://github.com/0xSeven/thumbnailer/usr/bin/ld>
Oh, it's a different repo. I think you are missing some CFLAGS.
See https://github.com/bakape/thumbnailer/blob/master/thumbnailer.go#L3-L8
…On 29 June 2018 at 17:28, 0xSeven ***@***.***> wrote:
Thanks for your quick response. I'm running Ubuntu 16.04.4 LTS.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHfPsIoEsOX_pmEHzC_9tTLDeTyvAmGVks5uBjl7gaJpZM4U5oYb>
.
|
Hello bakape!
|
Try installing zlib dev package. Might be an undocumented dependency on my
part.
…On 30 June 2018 at 15:53, 0xSeven ***@***.***> wrote:
Hello bakape!
I was using a 2 months old fork that was 12 commits behind the master.
Well, I upgraded now everything to this repo, the newest version, and I'm
still getting an undefined reference to symbol 'gzxclose' error (a
different one this time):
-# github.com/bakape/thumbnailer
/usr/bin/ld <http://github.com/bakape/thumbnailer/usr/bin/ld>: /usr/local/lib/libGraphicsMagick.a(magick_libGraphicsMagick_la-blob.o): undefined reference to symbol 'gzclose'
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHfPsCQ0SvCRIy2ir8ynztO_h8P4_LLEks5uB3TcgaJpZM4U5oYb>
.
|
The latest version is already installed :( |
Hello bakape. I found out, that my EC2 instance (Ubuntu, 16.04.4 LTS) is unable to even get the library. If I type in the following command: `go get -t github.com/bakape/thumbnailer then I'm getting the same error message:
I even created several SO Posts, one of them is: https://stackoverflow.com/questions/51091789/undefined-reference-to-symbol-gzclose-error-when-getting-library-go After days of trying to fix this, I strongly believe that the library's Makefile or build-flags is causing this error. Greetings! |
Just to be sure, run
What made you think that? AFAIK Go does not take into account any Makefiles in the project. |
This is the raw output of the command:
Well, people who encountered the same error fixed this by modifying the Makefile. Best regards! |
Hey bakape. Sorry if I keep annoying you, but please help me one last time. |
Because they actually use makefiles to build.
You built a local static GraphicsMagick, so any incompatibility stems from this. Try adding |
All those errors really are because of the static GraphicsMagick build. Now everything runs fine. |
Hello, I just updated to the newest version and I get a bunch of error messages when I try to start my go application now. Everything was working perfectly fine before the upgrade.
This is the list of all error messages:
Can anyone help me with this? I just don't know what to do.
The text was updated successfully, but these errors were encountered: