{"action":"created","issue":{"url":"https://api.github.com/repos/will/crystal-pg/issues/8","labels_url":"https://api.github.com/repos/will/crystal-pg/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/will/crystal-pg/issues/8/comments","events_url":"https://api.github.com/repos/will/crystal-pg/issues/8/events","html_url":"https://github.com/will/crystal-pg/issues/8","id":90563062,"number":8,"title":"Error when trying to execute anything (libpq5 - 9.3.8-0ubuntu0.4.04 | Crystal 0.7.4)","user":{"login":"gdotdesign","id":302692,"avatar_url":"https://avatars.githubusercontent.com/u/302692?v=3","gravatar_id":"","url":"https://api.github.com/users/gdotdesign","html_url":"https://github.com/gdotdesign","followers_url":"https://api.github.com/users/gdotdesign/followers","following_url":"https://api.github.com/users/gdotdesign/following{/other_user}","gists_url":"https://api.github.com/users/gdotdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/gdotdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdotdesign/subscriptions","organizations_url":"https://api.github.com/users/gdotdesign/orgs","repos_url":"https://api.github.com/users/gdotdesign/repos","events_url":"https://api.github.com/users/gdotdesign/events{/privacy}","received_events_url":"https://api.github.com/users/gdotdesign/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T04:41:12Z","updated_at":"2015-06-24T06:00:48Z","closed_at":null,"body":"There is an error when either I try to call `DB.version` or `DB.exec`:\r\n\r\n```\r\n/usr/bin/ld: /opt/crystal/bin/../embedded/lib/../lib/libgc.a(os_dep.o): undefined reference to symbol '_end'\r\n//lib/x86_64-linux-gnu/libcom_err.so.2: error adding symbols: DSO missing from command line\r\ncollect2: error: ld returned 1 exit status\r\nError: execution of command failed with code: 1: `cc -o /home/gdot/Projects/cr-orm/.crystal/crystal-run-test.tmp \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/main.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40Int3241.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Math.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Int3241.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/ArgumentError.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40UInt841.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40LibABI5858UnwindException41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/UInt64.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40String41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40String41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/GC.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/String.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/String5858Builder.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Slice40T41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Slice40UInt841.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/IndexOutOfBounds.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Int32.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Exception.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/StaticArray40UInt844326541.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/DivisionByZero.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40Pointer40Void4141.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Pointer40Void4141.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Fiber.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Void41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40Fiber41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Fiber41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Event5858Base.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Scheduler.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/FileDescriptorIO.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Bool.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/LibEvent25858EventFlags.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Nil.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Errno.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/IO5858Error.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Signal.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/40Int3232456232Void41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Hash40Int32443240Int3232456232Void4141.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Hash40K4-c3ec75a0b68f26d1e6c0b6ef5137591d.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Hash40K4432V41585-f79971827d7c936e8b09d3ee36627c92.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Hash40K4432V415858StandardComparator.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Int64.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Exception43.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/StaticArray40UInt84432441.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Connection.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858LibPQ5858ConnStatusType.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858ConnectionError.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array4040Nil32124-5a1c653c53937859de5163bb1b99321a.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer4040Nil321-f8af3429e84782dafb266b791b7a0621.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40Pointer40UInt84141.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Pointer40UInt84141.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Float32.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Float64.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Time.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Hash40String4432JSON5858Type41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40JSON5858Type41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/TimeFormat.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/TimeFormat5858Formatter.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/CharReader.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/InvalidByteSequenceError.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Char.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Time5858Kind.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Hash40123UInt644432Symbol1254432Bool41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Hash40K4-766bdc6ea432dd2739b30f84312c75af.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/123UInt644432Symbol125.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Hash40K4432V41585-4c57993f23870785eccb6bb4de73a8c0.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Hash40K4432V415858Entry40String4432JSON5858Type41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/StaticArray40UInt844322241.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer4040Nil321-fad29b889aa8902379af84d5f34359c4.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858LibPQ5858ExecStatusType.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858ResultError.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Result40T41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Result40Arr-49c95cd7646292d9b96f328163b3bd6f.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40PG5858Result40T415858Field41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40PG5858Result40T415858Field41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Result40T415858Field.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40Array4040N-72a16c98c9f3c91701f1972eec8291f4.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Array404-d5375a1c07bc11c7824748ced45c0cee.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40PG5858Decoder5858Decoder4341.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40PG5858Decoder5858Decoder4341.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Decoder.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Decoder5858TimeDecoder.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Decoder5858JsonDecoder.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Decoder5858Float64Decoder.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Decoder5858Float32Decoder.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Decoder5858IntDecoder.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Decoder5858BoolDecoder.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Decoder5858DefaultDecoder.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/TimeSpan.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/JSON.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/JSON5858Parser.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/JSON5858Lexer.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/JSON5858Lexer5858StringBased.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/JSON5858Token.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/StringIO.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/StringPool.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40Array40String416341.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Array40String416341.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/JSON5858ParseException.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Range40B4432E41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Range40Char4432Char41.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Symbol.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Hash40K4-a5f4dccfeeb9e82ab9cf742c0bde63b6.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Decoder5858Decoder43.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Result40123-a0ffa14e7ce6c16e549ac0345a660db6.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Array40123Int324432Int324432Int3212541.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40123Int324432Int324432Int3212541.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Hash40Symbol4432Int3241.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Pointer40Hash40K4-d99d7a22b21dfe80971b432330542f56.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Hash40K4432V415858Entry40Symbol4432Int3241.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/LEBReader.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858RuntimeError.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/PG5858Error43.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/ChannelClosed.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/GlobError.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/IO5858EOFError.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/IO5858Error43.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/TimeFormat5858Error.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/MissingKey.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/DomainError.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/EmptyEnumerable.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Regex.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/Regex5858Options.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/MatchData.o\" \"/home/gdot/Projects/cr-orm/.crystal/home/gdot/Projects/cr-orm/test.cr/AtExitHandlers.o\"   -lpq -I`pg_config --includedir` -L`pg_config --libdir` -levent -lrt -lpcl -lpcre -lm -lgc -lpthread -lunwind`\r\n```"},"comment":{"url":"https://api.github.com/repos/will/crystal-pg/issues/comments/114738760","html_url":"https://github.com/will/crystal-pg/issues/8#issuecomment-114738760","issue_url":"https://api.github.com/repos/will/crystal-pg/issues/8","id":114738760,"user":{"login":"will","id":1973,"avatar_url":"https://avatars.githubusercontent.com/u/1973?v=3","gravatar_id":"","url":"https://api.github.com/users/will","html_url":"https://github.com/will","followers_url":"https://api.github.com/users/will/followers","following_url":"https://api.github.com/users/will/following{/other_user}","gists_url":"https://api.github.com/users/will/gists{/gist_id}","starred_url":"https://api.github.com/users/will/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will/subscriptions","organizations_url":"https://api.github.com/users/will/orgs","repos_url":"https://api.github.com/users/will/repos","events_url":"https://api.github.com/users/will/events{/privacy}","received_events_url":"https://api.github.com/users/will/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T06:00:48Z","updated_at":"2015-06-24T06:00:48Z","body":"Interesting. Do you know if it worked for you on crystal 0.7.3? 0.7.4 was just released today, so it could be a problem there."}}