LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2012, 07:05 AM   #1
javascriptninja
Member
 
Registered: Jan 2012
Posts: 41

Rep: Reputation: Disabled
Question make fails because of librreetype.so


When I type make, I get the following error:

/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libfontconfig.so: undefined reference to symbol 'FT_New_Face'
/usr/bin/ld: note: 'FT_New_Face' is defined in DSO /usr/lib/x86_64-linux-gnu/libfreetype.so so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libfreetype.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [aegisub-2.1] Error 1

What's going on? How can this be fixed?
 
Old 01-28-2012, 06:32 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
What is it you are trying to build?
What version of Ubuntu is this?
Where did you get the source you are trying to build ?

Did you Google the error ? "undefined reference to symbol 'FT_New_Face'"
 
Old 01-29-2012, 03:59 AM   #3
javascriptninja
Member
 
Registered: Jan 2012
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
What is it you are trying to build?
What version of Ubuntu is this?
Where did you get the source you are trying to build ?

Did you Google the error ? "undefined reference to symbol 'FT_New_Face'"
I'm trying to build aegisub in Ubuntu 11.10. The source is from http://www.aegisub.org/

I googled the error, but didn't find anything that I could understand.
 
Old 01-29-2012, 02:50 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Suggest :
Use the binary aegisub, aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2
http://ftp.aegisub.org/pub/archives/releases/linux/

tar xvf aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2
&& cd aegisub-2.1.8-linux-glibc27-x86_64/ && ./aegisub-2.1

Works OK on the 64bits Ubuntu 11.10 .

.

Last edited by knudfl; 02-17-2012 at 11:49 PM.
 
Old 01-30-2012, 05:55 PM   #5
javascriptninja
Member
 
Registered: Jan 2012
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Suggest :
Use the binary aegisub, aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2
ftp://ftp.aegisub.org/pub/releases/a...x86_64.tar.bz2

tar xvf aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2
&& cd aegisub-2.1.8-linux-glibc27-x86_64/ && ./aegisub-2.1

Works OK on the 64bits Ubuntu 11.10 .

.
Yes, the binary works, but it doesn't work well. For instance, the menu at the top isn't showing.

I remember that a long time ago I was able to get this to compile but forgot what I did. I remember that when I finally got it working it was better than the binary that's supplied.
 
Old 01-30-2012, 06:47 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
odd the "aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2"

shows the top menu on OpenSUSE 11.4

now Ubuntu 11.10 is using gnome 3 ? right ? -- that might be a problem
the tarbal was last updated in 2010 -- 2 years ago .

now the source
the README and INSTALL state " To be written. " -- not a good sign .

when ./configure finished ( i am using gcc 4.5 ) at the end is a list of just WHAT will be built
-- for default "./configure"
Code:
Configure settings
  Install prefix:        /usr/local
  SVN Revision:          4062
  Debug                  no 
  CXXFLAGS               -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-long-long -fpermissive -fno-strict-aliasing -std=c++98 -pipe -O2
  CPPFLAGS               
  LDFLAGS                

Default Settings
  Video Provider:        
  Audio Provider:        
  Subtitle Provider:     libass
  Audio Player:          openal

Scripting Engines
  auto3 Lua:             no 
  auto4 Lua:             yes 
  auto4 Perl:            no 
  auto4 Ruby:            no 

Audio Players
  ALSA:                  yes 
  OpenAL:                yes 
  OSS:                   yes 
  PortAudio:             no 
  PulseAudio:            yes 

A/V Support
  FFMPEG:                no 
                         (required for video providers)

A/V Providers
  FFMPEG:                no (deprecated)
  FFmpegSource:          no (disabled, requires FFMPEG)

Subtitle Providers:
  CSRI (ASA):            no  
  libASS                 yes  
                         (both require iconv and fontconfig)

Misc Packages
  Hunspell:              no  
  universalchardet:      yes
now i am missing a few things
the ffmmpeg IS WRONG it is installed but the current ( was the experimental)


so what is in your configure.log for this
what did it find and not find ?
you might need to pass a lot of things to configure
see:
" ./configure --help "

Last edited by John VV; 01-30-2012 at 06:49 PM.
 
Old 01-30-2012, 07:31 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
No "Top Menu" ? May be a 'Gnome 3 only' issue ? Ref. post #6
This is aegisub-2.1.8-linux-glibc27-x86_64/ in (K)Ubuntu 11.10 .
Click image for larger version

Name:	screen123.jpg
Views:	32
Size:	40.4 KB
ID:	8986
Not Gnome, but KDE 4 is used.

But the same appereance issues may happen, if you could compile aegisub yourself ?

.

Last edited by knudfl; 01-30-2012 at 07:34 PM.
 
Old 01-30-2012, 08:15 PM   #8
javascriptninja
Member
 
Registered: Jan 2012
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
No "Top Menu" ? May be a 'Gnome 3 only' issue ? Ref. post #6
This is aegisub-2.1.8-linux-glibc27-x86_64/ in (K)Ubuntu 11.10 .
Attachment 8986
Not Gnome, but KDE 4 is used.

But the same appereance issues may happen, if you could compile aegisub yourself ?

.
The menu is missing. It says things like "File." If you press alt+F, you can still access it and use the arrow keys to move around.
 
Old 01-30-2012, 08:20 PM   #9
javascriptninja
Member
 
Registered: Jan 2012
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
odd the "aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2"

shows the top menu on OpenSUSE 11.4

now Ubuntu 11.10 is using gnome 3 ? right ? -- that might be a problem
the tarbal was last updated in 2010 -- 2 years ago .

now the source
the README and INSTALL state " To be written. " -- not a good sign .

when ./configure finished ( i am using gcc 4.5 ) at the end is a list of just WHAT will be built
-- for default "./configure"
Code:
Configure settings
  Install prefix:        /usr/local
  SVN Revision:          4062
  Debug                  no 
  CXXFLAGS               -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-long-long -fpermissive -fno-strict-aliasing -std=c++98 -pipe -O2
  CPPFLAGS               
  LDFLAGS                

Default Settings
  Video Provider:        
  Audio Provider:        
  Subtitle Provider:     libass
  Audio Player:          openal

Scripting Engines
  auto3 Lua:             no 
  auto4 Lua:             yes 
  auto4 Perl:            no 
  auto4 Ruby:            no 

Audio Players
  ALSA:                  yes 
  OpenAL:                yes 
  OSS:                   yes 
  PortAudio:             no 
  PulseAudio:            yes 

A/V Support
  FFMPEG:                no 
                         (required for video providers)

A/V Providers
  FFMPEG:                no (deprecated)
  FFmpegSource:          no (disabled, requires FFMPEG)

Subtitle Providers:
  CSRI (ASA):            no  
  libASS                 yes  
                         (both require iconv and fontconfig)

Misc Packages
  Hunspell:              no  
  universalchardet:      yes
now i am missing a few things
the ffmmpeg IS WRONG it is installed but the current ( was the experimental)


so what is in your configure.log for this
what did it find and not find ?
you might need to pass a lot of things to configure
see:
" ./configure --help "
I made some changes so that instead of gnome 3 I'm using xfce.

Output of ./configure (using gcc 4.6.1)

Quote:
***********************************************************************
* No supported video/audio reader interface was found on your system.
* You will not be able to open any video or audio files in Aegisub
* unless you install a supported video/audio provider.
* You will however still be able to open "dummy" video, ie. a blank,
* virtual video clip with subtitles overlaid.
* Currently we only support one video/audio provider on non-Windows
* systems:
* - FFmpeg (libavcodec + libavformat)
* * http://ffmpeg.mplayerhq.hu/
***********************************************************************


Configure settings
Install prefix: /usr/local
SVN Revision: 4062
Debug no
CXXFLAGS -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-long-long -fpermissive -fno-strict-aliasing -std=c++98 -pipe -O2
CPPFLAGS
LDFLAGS

Default Settings
Video Provider:
Audio Provider:
Subtitle Provider: libass
Audio Player:

Scripting Engines
auto3 Lua: no
auto4 Lua: no
auto4 Perl: no
auto4 Ruby: no

Audio Players
ALSA: no
OpenAL: no
OSS: yes
PortAudio: no
PulseAudio: no

A/V Support
FFMPEG: no
(required for video providers)

A/V Providers
FFMPEG: no (deprecated)
FFmpegSource: no (disabled, requires FFMPEG)

Subtitle Providers:
CSRI (ASA): no
libASS yes
(both require iconv and fontconfig)

Misc Packages
Hunspell: no
universalchardet: yes
 
Old 01-30-2012, 08:47 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you are missing even more than i was ( i do not intend on using this software so i will not be installing it )

it looks like it is using the deprecated OSS audio
not using the current portaudio ( should be the default for ubuntu11 )
not using ALSA also should be a default fall back for ubuntu

no Lua or Perl support

at this point all i can suggest is try the mailing list
http://lists.aegisub.org/mailman/listinfo
but the last thing in the archive is from feb 2011 ( a year old)
the blog
http://blog.aegisub.org/
but the last post was in June 2011
the SVN page
http://devel.aegisub.org/wiki/Developer/SubVersion
was last modified 2 years ago

the project is looking abandoned
 
  


Reply

Tags
make



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] make m4 fails luw Linux - Software 5 01-17-2012 04:18 AM
make xconfig fails intellimetrix Linux - Kernel 1 05-04-2009 03:22 PM
Kernel compile fails with make-kpkg, not with make cspos Debian 37 11-09-2005 09:11 AM
Eterm make fails guyute Linux - Software 2 10-24-2005 05:46 PM
madwifi fails to 'make' Vincent_Vega Linux - Wireless Networking 1 12-31-2004 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration