bugGNU TeXmacs - Bugs: bug #46729, undefined reference to symbol...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46729: undefined reference to symbol 'deflate' on openSUSE_42.1

Submitted by:  ederag <ederag>
Submitted on:  Sun 20 Dec 2015 08:25:36 PM UTC  
 
Category: CompilationPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.99.4Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Mon 13 Feb 2017 12:07:49 PM UTC, comment #1:

This has been fixed. Manually adding LDFLAGS=-lz in the spec file is not needed anymore.

Philippe Joyez <pjoyez>
Project Member
Sun 20 Dec 2015 08:25:36 PM UTC, original submission:

Packaging 1.99.4 for openSUSE_42.1 fails with

[ 125s] /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
Objects/OutputFlateEncodeStream.o: undefined reference to symbol 'deflate'
[ 125s] /lib64/libz.so.1: error adding symbols: DSO missing from command line

The patch attached checks that libz is indeed present and usable.
...
checking for deflate in -lz... yes
...

It was necessary to add "-lz" to either LDFLAGS or GUILE_LDFLAGS at the configure stage.
Is it a bug in openSUSE_42.1 ?
But 1.0.7.21 does compile fine on this system.

ederag <ederag>

 

Attached Files
file #35804:  texmacs_15c20_libz.diff added by ederag (632B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pjoyez (Posted a comment)
  • -unavailable- added by ederag (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 13 Feb 2017 12:07:49 PM UTCpjoyezStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 20 Dec 2015 08:25:36 PM UTCederagAttached File-=>Added texmacs_15c20_libz.diff, #35804

    Back to the top


    Powered by Savane 3.1-cleanup1