View Single Post
  #6   (View Single Post)  
Old 4th June 2018
Sehnsucht94's Avatar
Sehnsucht94 Sehnsucht94 is offline
Real Name: Paolo Vincenzo Olivo
Package Pilot
 
Join Date: Oct 2017
Location: Rome
Posts: 169
Default

Quote:
Originally Posted by billy_bazooka View Post
The weird thing is.. i googled it.. on the freetype website newest version is 2.9.1..
Am I missing something obvious?
Versions of libfreetype.so are named after the corresponding libtool version which freetype2 is generated with; see freetype/docs/VERSIONS.TXT.
Quote:
I am trying to compile ratpoison from pkgsrc, it breaks with following message, while trying to install libXft (ratpoison dependency)

Code:
Package dependency requirement 'freetype2 >= 21.0.15' could not be satisfied.
Package 'freetype2' has version '13.0.7', required version is '>= 21.0.15'
GCC is trying to link to the freetype2 version included in xbase.tgz, which, on such an outdated system version, predictably lags several versions behind (you should have /usr/X11R7/lib/libfreetype.so.13.0.7 ,
whereas /usr/pkg/lib/libfreetype.so.x.y.z, provided by graphics/freetype2@2.9.1 is what you're looking for. Just echo:

Code:
PREFER.freetype2=pkgsrc
PREFER.fontconfig=pkgsrc
to your /etc/mk.conf; should get the job done
Reply With Quote